]> git.baikalelectronics.ru Git - kernel.git/commit
perf record: Add support for PERF_SAMPLE_CODE_PAGE_SIZE
authorKan Liang <kan.liang@linux.intel.com>
Tue, 5 Jan 2021 19:57:49 +0000 (11:57 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 20 Jan 2021 17:34:20 +0000 (14:34 -0300)
commit5b532cd3ff1cc28e5637572fd950f144c3bdcaf1
treeeaee1e049eeffda4febe0edb1ac2c2acc37380ba
parent2463dd9c692d413b8fd4f06f8edb27a1e7c8d0dd
perf record: Add support for PERF_SAMPLE_CODE_PAGE_SIZE

Adds the infrastructure to sample the code address page size.

Introduce a new --code-page-size option for perf record.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Originally-by: Stephane Eranian <eranian@google.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210105195752.43489-4-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/evsel.h
tools/perf/util/perf_event_attr_fprintf.c
tools/perf/util/record.h
tools/perf/util/synthetic-events.c