perf record: Support new sample type for data page size
authorKan Liang <kan.liang@linux.intel.com>
Mon, 30 Nov 2020 17:27:53 +0000 (09:27 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Dec 2020 17:36:16 +0000 (14:36 -0300)
commit542b88fd12769bf5be307b11ca0f94a6140bba82
tree66e5ae3a916d186f909f3f7f39ddd53bb961f0ce
parent47d982202f8cfaac6f208c9109fa15cb6a0181f7
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>
tools/perf/Documentation/perf-record.txt
tools/perf/builtin-record.c
tools/perf/util/event.h
tools/perf/util/evsel.c
tools/perf/util/perf_event_attr_fprintf.c
tools/perf/util/record.h
tools/perf/util/synthetic-events.c