[tip:perf/core] perf map: Remove extra indirection from map__find()

2018-12-18 Thread tip-bot for Eric Saint-Etienne
Commit-ID: b18e088825883bcb8dc4c4a641494049cf8ccec3 Gitweb: https://git.kernel.org/tip/b18e088825883bcb8dc4c4a641494049cf8ccec3 Author: Eric Saint-Etienne AuthorDate: Fri, 23 Nov 2018 02:42:39 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 17 Dec 2018 14:53:57 -0300 perf

[tip:perf/core] perf map: Remove extra indirection from map__find()

2018-12-14 Thread tip-bot for Eric Saint-Etienne
Commit-ID: 97dfc3423ca701212802a02994d1ec3e688f4891 Gitweb: https://git.kernel.org/tip/97dfc3423ca701212802a02994d1ec3e688f4891 Author: Eric Saint-Etienne AuthorDate: Fri, 23 Nov 2018 02:42:39 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Nov 2018 20:42:46 -0300 perf

[PATCH UEK5] perf symbols: Cannot disassemble some routines when debuginfo present

2018-12-12 Thread Eric Saint-Etienne
nother map up again. Only one extra lookup at most is required for the proper map to be found, if it exists. Orabug: 28543586 Reviewed-by: Eric Saint-Etienne --- tools/perf/util/event.c | 13 + 1 file changed, 13 insertions(+) diff --git a/tools/perf/util/event.c b/tools/perf/u

[PATCH v3] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-28 Thread Eric Saint-Etienne
is set there. This patch makes sure that the event address we're looking-up is indeed within the map we've found, otherwise we lookup another map again. Only one extra lookup at most is required for the proper map to be found, if it exists. Signed-off-by: Eric Saint-Etienne Reviewed-by:

[PATCH v2] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-28 Thread Eric Saint-Etienne
is set there. This patch makes sure that the event address we're looking-up is indeed within the map we've found, otherwise we lookup another map again. Only one extra lookup at most is required for the proper map to be found, if it exists. Signed-off-by: Eric Saint-Etienne Reviewed-by:

RE: [PATCH] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-23 Thread Eric Saint Etienne
> > + /* > > +* When using -ffunction-sections, only .text gets loaded by > > +* map_groups__find() into al->map. Consequently al->map address > > +* range encompass the whole code. > > +* > > +* But map__load() has just loaded m

[PATCH] perf map: remove extra indirection from map__find()

2018-11-23 Thread Eric Saint-Etienne
A double pointer is used in map__find() where a single pointer is enough because the function doesn't affect the rbtree and the rbtree is locked. Signed-off-by: Eric Saint-Etienne --- tools/perf/util/map.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/

[PATCH] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-23 Thread Eric Saint-Etienne
up is indeed within the map we've found, otherwise we lookup another map again. Only one extra lookup at most is required for the proper map to be found, if it exists. Signed-off-by: Eric Saint-Etienne Reviewed-by: Darren Kenny --- tools/perf/util/event.c | 23 ++- 1 f

[tip:perf/core] perf symbols: Fix slowness due to -ffunction-section

2018-11-21 Thread tip-bot for Eric Saint-Etienne
Commit-ID: 1e6285699b3034e6f4d1f091edd46d717580bf7c Gitweb: https://git.kernel.org/tip/1e6285699b3034e6f4d1f091edd46d717580bf7c Author: Eric Saint-Etienne AuthorDate: Wed, 21 Nov 2018 09:51:19 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 22:39:59 -0300 perf

[PATCH] perf symbols: fix slowness due to -ffunction-section

2018-11-21 Thread Eric Saint-Etienne
ndary rbtree that indexes maps based on the section name. Signed-off-by: Eric Saint-Etienne Reviewed-by: Dave Kleikamp Reviewed-by: David Aldridge Reviewed-by: Rob Gardner --- tools/perf/util/map.c| 27 +++ tools/perf/util/map.h| 2 ++ tools/perf/util/symbol.c