summaryrefslogtreecommitdiff
path: root/tools/perf/util/record.h
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2020-11-30 09:27:53 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-12-17 14:36:16 -0300
commit542b88fd12769bf5be307b11ca0f94a6140bba82 (patch)
tree66e5ae3a916d186f909f3f7f39ddd53bb961f0ce /tools/perf/util/record.h
parent47d982202f8cfaac6f208c9109fa15cb6a0181f7 (diff)
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/record.h')
-rw-r--r--tools/perf/util/record.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/record.h b/tools/perf/util/record.h
index 266760ac9143..694b351dcd27 100644
--- a/tools/perf/util/record.h
+++ b/tools/perf/util/record.h
@@ -22,6 +22,7 @@ struct record_opts {
bool raw_samples;
bool sample_address;
bool sample_phys_addr;
+ bool sample_data_page_size;
bool sample_weight;
bool sample_time;
bool sample_time_set;