diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2020-11-30 09:27:53 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-12-17 14:36:16 -0300 |
commit | 542b88fd12769bf5be307b11ca0f94a6140bba82 (patch) | |
tree | 66e5ae3a916d186f909f3f7f39ddd53bb961f0ce /tools/perf/util/event.h | |
parent | 47d982202f8cfaac6f208c9109fa15cb6a0181f7 (diff) | |
download | linux-542b88fd12769bf5be307b11ca0f94a6140bba82.tar.gz linux-542b88fd12769bf5be307b11ca0f94a6140bba82.tar.bz2 linux-542b88fd12769bf5be307b11ca0f94a6140bba82.zip |
perf record: Support new sample type for data page size
Support new sample type PERF_SAMPLE_DATA_PAGE_SIZE for page size.
Add new option --data-page-size to record sample data page size.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Stephane Eranian <eranian@google.com>
Cc: Will Deacon <will@kernel.org>
Link: http://lore.kernel.org/lkml/20201130172803.2676-3-kan.liang@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r-- | tools/perf/util/event.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index b828b99176f4..448ac30c2fc4 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h @@ -135,6 +135,7 @@ struct perf_sample { u32 raw_size; u64 data_src; u64 phys_addr; + u64 data_page_size; u64 cgroup; u32 flags; u16 insn_len; |