Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5104 Discussions

Option to detect data races on stack accesses

Jan_H_1
Beginner
1,697 Views

I'd like to enable the thread checker option to detect data races on stack accesses. However, I don't see how to do that, and I couldn't find it in the documentation. Could you explain?

0 Kudos
2 Replies
SergeyKostrov
Valued Contributor II
1,697 Views
>>...I'd like to enable the thread checker option to detect data races on stack accesses... Do you mean that you have a multi-threaded application and some thread uses a data set saved on the stack in another thread?
0 Kudos
Peter_W_Intel
Employee
1,697 Views

Please create a new inspxe project => New Analysis => Configure Analysis type => Locate Deadlocks and Data Races=> Click "Copy"=> Custom Analysis:

1. Cross-thread stack access detection: "Show problems/Hide warnings"

2. Detect data races on stack accesses (checked)

Click "OK", your "Custom Analysis Types" has been created.

0 Kudos
Reply