Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4638 Discussions

Option to detect data races on stack accesses

Jan_H_1
Beginner
146 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
146 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?
Peter_W_Intel
Employee
146 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.

Reply