Skip to content

perf tools: Add support for using symbols in address filters

Adrian Hunter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16perf record: Fix documentation 'event_sources' -> 'event_source'tools/perf/Documentation/perf-record.txt+3 -30 replies
2/16perf tools: Fix MMAP event synthesis broken by MAP_HUGETLB changetools/perf/util/event.c+2 -10 replies
3/16perf script: Fix vanished idle symbolstools/perf/util/evsel_fprintf.c+2 -50 replies
4/16perf record: Rename label 'out_symbol_exit'tools/perf/builtin-record.c+5 -50 replies
5/16perf record: Fix error pathstools/perf/builtin-record.c+4 -40 replies
6/16perf symbols: Add dso__last_symbol()tools/perf/util/symbol.c tools/perf/util/symbol.h+16 -00 replies
7/16perf record: Add support for using symbols in address filterstools/perf/Documentation/perf-record.txt tools/perf/builtin-record.c tools/perf/util/auxtrace.c +1 more+857 -30 replies
8/16perf tools: Increase debug level of SDT debug messagestools/perf/util/build-id.c tools/perf/util/probe-file.c+3 -33 replies
9/16perf intel-pt: Fix snapshot overlap detection decoder errorstools/perf/util/intel-pt.c+11 -40 replies
10/16perf intel-pt: Add support for recording the max non-turbo ratiotools/perf/arch/x86/util/intel-pt.c tools/perf/util/intel-pt.c tools/perf/util/intel-pt.h+20 -10 replies
11/16perf intel-pt: Fix missing error codes processing auxtrace_infotools/perf/util/intel-pt.c+2 -00 replies
12/16perf intel-pt: Add a helper function for processing AUXTRACE_INFOtools/perf/util/intel-pt.c+8 -40 replies
13/16perf intel-pt: Record address filter in AUXTRACE_INFO eventtools/perf/arch/x86/util/intel-pt.c tools/perf/util/intel-pt.h+48 -60 replies
14/16perf intel-pt: Read address filter from AUXTRACE_INFO eventtools/perf/util/intel-pt.c+51 -00 replies
15/16perf intel-pt: Enable decoder to handle TIP.PGD with missing IPtools/perf/util/intel-pt-decoder/intel-pt-decoder.c tools/perf/util/intel-pt-decoder/intel-pt-decoder.h+31 -00 replies
16/16perf intel-pt: Fix decoding when there are address filterstools/perf/util/intel-pt.c+82 -00 replies

Reviews trailers per patch

1 of 16 patches has a Reviewed-by or Acked-by.

PatchMasami Hiramatsu
1/16
2/16
3/16
4/16
5/16
6/16
7/16
8/16A-b
9/16
10/16
11/16
12/16
13/16
14/16
15/16
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/16] perf tools: Add support for using symbols in address filters

Hi

Here are some patches that add support for using symbols in address filters. There are also some fixes for other things that I came across during testing.

Finally there are patches for Intel PT, mainly to fix an issue with address filters, but also these two:
perf intel-pt: Fix snapshot overlap detection decoder errors perf intel-pt: Add support for recording the max non-turbo ratio

The patches are on top of Mathieu's patches:
perf tools: adding support for address filters perf tools: new tracepoint specific function perf tools: making perf_evsel__append_filter() generic

Adrian Hunter (16):
perf record: Fix documentation 'event_sources' -> 'event_source' perf tools: Fix MMAP event synthesis broken by MAP_HUGETLB change perf script: Fix vanished idle symbols
perf record: Rename label 'out_symbol_exit'
perf record: Fix error paths
perf symbols: Add dso__last_symbol()
perf record: Add support for using symbols in address filters perf tools: Increase debug level of SDT debug messages perf intel-pt: Fix snapshot overlap detection decoder errors perf intel-pt: Add support for recording the max non-turbo ratio perf intel-pt: Fix missing error codes processing auxtrace_info perf intel-pt: Add a helper function for processing AUXTRACE_INFO perf intel-pt: Record address filter in AUXTRACE_INFO event perf intel-pt: Read address filter from AUXTRACE_INFO event perf intel-pt: Enable decoder to handle TIP.PGD with missing IP perf intel-pt: Fix decoding when there are address filters

 tools/perf/Documentation/perf-record.txt           |  61 +-
 tools/perf/arch/x86/util/intel-pt.c                |  57 +-
 tools/perf/builtin-record.c                        |  32 +-
 tools/perf/util/auxtrace.c                         | 737 +++++++++++++++++++++
 tools/perf/util/auxtrace.h                         |  54 ++
 tools/perf/util/build-id.c                         |   4 +-
 tools/perf/util/event.c                            |   3 +-
 tools/perf/util/evsel_fprintf.c                    |   7 +-
 .../perf/util/intel-pt-decoder/intel-pt-decoder.c  |  30 +
 .../perf/util/intel-pt-decoder/intel-pt-decoder.h  |   1 +
 tools/perf/util/intel-pt.c                         | 172 ++++-
 tools/perf/util/intel-pt.h                         |   4 +-
 tools/perf/util/probe-file.c                       |   2 +-
 tools/perf/util/symbol.c                           |  15 +
 tools/perf/util/symbol.h                           |   1 +
 15 files changed, 1143 insertions(+), 37 deletions(-)

Regards
Adrian