Skip to content

perf annotate: Make annotation_options global (v1)

Namhyung Kim linux-perf-users lkml 1 version Applied

Status from this message: Thanks, applied to perf-tools-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8perf annotate: Introduce global annotation_optionstools/perf/builtin-annotate.c tools/perf/util/annotate.c tools/perf/util/annotate.h+26 -220 replies
2/8perf report: Convert to the global annotation_optionstools/perf/builtin-report.c+16 -170 replies
3/8perf top: Convert to the global annotation_optionstools/perf/builtin-top.c tools/perf/util/top.h+22 -230 replies
4/8perf annotate: Use global annotation_optionstools/perf/builtin-annotate.c tools/perf/builtin-report.c tools/perf/builtin-top.c +3 more+68 -812 replies
5/8perf ui/browser/annotate: Use global annotation_optionstools/perf/builtin-annotate.c tools/perf/builtin-report.c tools/perf/builtin-top.c +7 more+59 -950 replies
6/8perf annotate: Ensure init/exit for global optionstools/perf/builtin-annotate.c tools/perf/builtin-report.c tools/perf/builtin-top.c +2 more+27 -242 replies
7/8perf annotate: Remove remaining usages of local annotation optionstools/perf/ui/browsers/annotate.c tools/perf/util/annotate.c tools/perf/util/annotate.h+10 -120 replies
8/8perf annotate: Get rid of local annotation optionstools/perf/util/annotate.c tools/perf/util/annotate.h+0 -30 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIan Rogers
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v1 thread

Cover letter [PATCHSET 0/8] perf annotate: Make annotation_options global (v1)

Hello,

It used to have annotation_options for each command separately (for example, perf report, annotate, and top), but we can make it global as they never used together (with different settings). This would save some memory for each symbol when annotation is enabled.

This code is available at 'perf/annotate-option-v1' branch in

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Thanks,
Namhyung

Namhyung Kim (8):
perf annotate: Introduce global annotation_options
perf report: Convert to the global annotation_options perf top: Convert to the global annotation_options
perf annotate: Use global annotation_options
perf ui/browser/annotate: Use global annotation_options perf annotate: Ensure init/exit for global options
perf annotate: Remove remaining usages of local annotation options perf annotate: Get rid of local annotation options

 tools/perf/builtin-annotate.c     |  43 +++++----
 tools/perf/builtin-report.c       |  37 ++++----
 tools/perf/builtin-top.c          |  45 +++++-----
 tools/perf/ui/browsers/annotate.c |  85 ++++++++----------
 tools/perf/ui/browsers/hists.c    |  34 +++----
 tools/perf/ui/browsers/hists.h    |   2 -
 tools/perf/util/annotate.c        | 142 +++++++++++++++---------------
 tools/perf/util/annotate.h        |  38 ++++----
 tools/perf/util/block-info.c      |   6 +-
 tools/perf/util/block-info.h      |   3 +-
 tools/perf/util/hist.h            |  25 ++----
 tools/perf/util/top.h             |   1 -
 12 files changed, 206 insertions(+), 255 deletions(-)

base-commit: 757489991f7c08603395b85037a981c31719c92c

Signature · 1 line
2.43.0.rc1.413.gea7ed67945-goog