Skip to content

Remove symbol_name_rb_node

Ian Rogers linux-perf-users lkml 1 version Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 2 repliesApplied

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3perf dso: Sort symbols under locktools/perf/util/map.c tools/perf/util/symbol.c+7 -40 replies
2/3perf symbol: Remove symbol_name_rb_nodetools/perf/util/dso.c tools/perf/util/dso.h tools/perf/util/map.c +5 more+101 -960 replies
3/3perf symbol_conf: Remove now unused sort_by_nametools/perf/builtin-kallsyms.c tools/perf/builtin-lock.c tools/perf/builtin-report.c +3 more+0 -70 replies

Reviews trailers per patch

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

PatchNamhyung Kim
SeriesA-b
1/3
2/3
3/3

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

Read the v3 thread

Cover letter [PATCH v3 0/3] Remove symbol_name_rb_node

Use a sorted array of symbol pointers to avoid the potentially unnecessary 3 pointers (rb_node) for the name sorted symbols. Saves been 24 and 16 bytes per symbol.

v3. Move sort by name dso lock into its own patch.
v2. map__find_symbol_by_name_idx so that map__find_symbol_by_name
doesn't need an optional parameter. Separate out symbol_conf.sort_by_name removal.

Ian Rogers (3):
perf dso: Sort symbols under lock
perf symbol: Remove symbol_name_rb_node perf symbol_conf: Remove now unused sort_by_name

 tools/perf/builtin-kallsyms.c    |   1 -
 tools/perf/builtin-lock.c        |   2 -
 tools/perf/builtin-report.c      |   1 -
 tools/perf/tests/builtin-test.c  |   1 -
 tools/perf/util/dso.c            |   7 +-
 tools/perf/util/dso.h            |   3 +-
 tools/perf/util/map.c            |  14 +++-
 tools/perf/util/map.h            |  12 +--
 tools/perf/util/probe-event.c    |  16 ++--
 tools/perf/util/symbol.c         | 131 ++++++++++++++++---------------
 tools/perf/util/symbol.h         |  12 +--
 tools/perf/util/symbol_conf.h    |   1 -
 tools/perf/util/symbol_fprintf.c |  10 +--
 13 files changed, 106 insertions(+), 105 deletions(-)
Signature · 1 line
2.41.0.162.gfafddb0af9-goog