Skip to content

perf tools: add symbol filter to struct machine

Adrian Hunter lkml 1 version Applied

Status from this message: Thanks, applied!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8perf tools: add symbol filter to struct machinetools/perf/util/machine.c tools/perf/util/machine.h+25 -00 replies
2/8perf top: set the machines symbol filtertools/perf/builtin-top.c+3 -10 replies
3/8perf report: set the machines symbol filtertools/perf/builtin-report.c+3 -30 replies
4/8perf mem: remove unused symbol filter membertools/perf/builtin-mem.c+1 -20 replies
5/8perf annotate: set the machines symbol filtertools/perf/builtin-annotate.c+3 -10 replies
6/8perf tools: remove filter parameter of perf_event__preprocess_sample()tools/perf/builtin-annotate.c tools/perf/builtin-diff.c tools/perf/builtin-mem.c +7 more+14 -200 replies
7/8perf tools: remove filter parameter of thread__find_addr_location()tools/perf/util/event.c tools/perf/util/machine.c tools/perf/util/thread.h +1 more+11 -110 replies
8/8perf tools: remove filter parameter of thread__find_addr_map()tools/perf/builtin-inject.c tools/perf/builtin-script.c tools/perf/tests/code-reading.c +4 more+12 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] perf tools: add symbol filter to struct machine

Hi

Here are some patches that add symbol filter to struct machine as we briefly discussed on irc.

The first patch puts the symbol filter on both struct machine and struct machines so that guest machines added later inherit the same symbol filter.

The next 4 patches change the tools to set the machines symbol filter.

The final 3 patches remove symbol filter as a parameter in some cases where it is redundant.

Adrian Hunter (8):
perf tools: add symbol filter to struct machine
perf top: set the machines symbol filter
perf report: set the machines symbol filter
perf mem: remove unused symbol filter member
perf annotate: set the machines symbol filter
perf tools: remove filter parameter of perf_event__preprocess_sample() perf tools: remove filter parameter of thread__find_addr_location() perf tools: remove filter parameter of thread__find_addr_map()

 tools/perf/builtin-annotate.c   |  5 +++--
 tools/perf/builtin-diff.c       |  2 +-
 tools/perf/builtin-inject.c     |  2 +-
 tools/perf/builtin-mem.c        |  4 +---
 tools/perf/builtin-report.c     |  7 +++----
 tools/perf/builtin-script.c     |  6 +++---
 tools/perf/builtin-top.c        |  5 +++--
 tools/perf/tests/code-reading.c |  2 +-
 tools/perf/tests/hists_link.c   |  4 ++--
 tools/perf/util/build-id.c      |  2 +-
 tools/perf/util/event.c         | 20 ++++++++++----------
 tools/perf/util/event.h         |  3 +--
 tools/perf/util/machine.c       | 28 ++++++++++++++++++++++++----
 tools/perf/util/machine.h       |  5 +++++
 tools/perf/util/session.c       |  3 +--
 tools/perf/util/thread.h        |  5 ++---
 tools/perf/util/unwind.c        |  6 +++---
 17 files changed, 65 insertions(+), 44 deletions(-)

Regards
Adrian