Re: tracing child threads with address filtering using intel_pt in perf

From: Alexander Shishkin
Date: Mon Oct 08 2018 - 07:52:35 EST


"Alharthi, Mansour A" <mansourah@xxxxxxxxxx> writes:

> Hello all,

Hi,

> Assume this test code:
>
> thread_start(){
> ...
> test();
> ...
> }
>
> test(){
> printf("test");
> }
>
> main(){
> ...
> pthread_create(......, thread_start,....);
> }

Can you include the complete test case code?

> Tracing the above program with the following command:
> perf record -v -m 512,10000 -e intel_pt//u -T --switch-events --filter
> 'filter * @ ./test' -- ./test

Can you run it with -vvv and also include its output?

Thanks,
--
Alex