diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2022-07-11 12:31:49 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-07-20 11:07:48 -0300 |
commit | 1ee94463e9ac4721cfef27ffcd6f97ab026e3aac (patch) | |
tree | e253ec2f946911e2630f09aef969e162ab1c3346 /Documentation/fault-injection | |
parent | 0a64de04c94ad4285120bed0dfb382ea98d6d499 (diff) |
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 <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: kvm@vger.kernel.org
Link: https://lore.kernel.org/r/20220711093218.10967-7-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Documentation/fault-injection')
0 files changed, 0 insertions, 0 deletions