Re: [PATCH] perf script: Fix --call-trace for Intel PT

2020-05-28 Thread Arnaldo Carvalho de Melo
Em Wed, May 27, 2020 at 09:02:50PM +0300, Adrian Hunter escreveu: > Make process_attr() respect -F-ip, noting also that the condition in > process_attr() (callchain_param.record_mode != CALLCHAIN_NONE) is always > true so test the sample type directly. > > Example: > > Before: > > $ perf r

[PATCH] perf script: Fix --call-trace for Intel PT

2020-05-27 Thread Adrian Hunter
Make process_attr() respect -F-ip, noting also that the condition in process_attr() (callchain_param.record_mode != CALLCHAIN_NONE) is always true so test the sample type directly. Example: Before: $ perf record -e intel_pt//u uname Linux [ perf record: Woken up 1 times to write da