cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
710 Views
Registered: ‎05-09-2018

TCF profiler for multi-threaded applications

Jump to solution

Is it possible to get the TCF profiler to look at threads other than the main-thread for multi-threaded linux applications? As far as I can tell it is currently only analysing the main thread.

 

Thanks,

 

Mark

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
684 Views
Registered: ‎10-21-2010

Hi Mark,

You need to start the profiler for each thread. You can plant a breakpoint at the entry and exit points of the threads, and when the thread is created, start the profiler. Please note that the profiler view is closed when the thread/context exits, so you need a BP at the end of the thread to analyze the results. I'm not aware if there is a way to save the results to a file

 

View solution in original post

0 Kudos
2 Replies
Highlighted
Xilinx Employee
Xilinx Employee
685 Views
Registered: ‎10-21-2010

Hi Mark,

You need to start the profiler for each thread. You can plant a breakpoint at the entry and exit points of the threads, and when the thread is created, start the profiler. Please note that the profiler view is closed when the thread/context exits, so you need a BP at the end of the thread to analyze the results. I'm not aware if there is a way to save the results to a file

 

View solution in original post

0 Kudos
Highlighted
Participant
Participant
652 Views
Registered: ‎05-09-2018

Great thanks

0 Kudos