diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2019-12-04 14:08:00 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-12-04 12:39:53 -0300 |
commit | 29f6eeca0e14b301d9c03a3164b852c318d6348a (patch) | |
tree | 881af15a4cb866304671e960ae0f2a776220a66c /tools/thermal/tmon | |
parent | bb30acae4c4dacfa2622387c5ad5563246810583 (diff) | |
download | linux-29f6eeca0e14b301d9c03a3164b852c318d6348a.tar.gz |
perf inject: Fix processing of ID index for injected instruction tracing
The ID index event is used when decoding, but can result in the
following error:
$ perf record --aux-sample -e '{intel_pt//,branch-misses}:u' ls
$ perf inject -i perf.data -o perf.data.inj --itrace=be
$ perf script -i perf.data.inj
0x1020 [0x410]: failed to process type: 69 [No such file or directory]
Fix by having 'perf inject' drop the ID index event.
Fixes: c0a6de06c446 ("perf record: Add support for AUX area sampling")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lore.kernel.org/lkml/20191204120800.8138-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/thermal/tmon')
0 files changed, 0 insertions, 0 deletions