aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2022-07-11 09:31:49 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-07-20 14:07:48 +0000
commit1ee94463e9ac4721cfef27ffcd6f97ab026e3aac (patch)
treee253ec2f946911e2630f09aef969e162ab1c3346 /tools/perf/builtin-script.c
parentperf tools: Factor out evsel__id_hdr_size() (diff)
downloadkernel-1ee94463e9ac4721cfef27ffcd6f97ab026e3aac.tar.gz
kernel-1ee94463e9ac4721cfef27ffcd6f97ab026e3aac.zip
perf tools: Add perf_event__synthesize_id_sample()
Add perf_event__synthesize_id_sample() to enable the synthesis of ID samples. This is needed by perf inject. When injecting events from a guest perf.data file, there is a possibility that the sample ID numbers conflict. In that case, perf_event__synthesize_id_sample() can be used to re-write the ID sample. Signed-off-by: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions