]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
perf evsel: Add support for synthesized sample type
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 1 Apr 2020 10:16:07 +0000 (13:16 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Apr 2020 15:19:17 +0000 (12:19 -0300)
commite11869a065e36f3d22a575ccfb1097c262bb4f6e
tree7131159d87421a366ce6d24d1be679c96216435d
parent8e94b3243a9af2c49a38fd0d6f2f9beb542e41a4
perf evsel: Add support for synthesized sample type

For reporting purposes, an evsel sample can have a callchain synthesized
from AUX area data. Add support for keeping track of synthesized sample
types. Note, the recorded sample_type cannot be changed because it is
needed to continue to parse events.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lore.kernel.org/lkml/20200401101613.6201-11-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.h