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
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
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
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:
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:
> > + /*
> > +* 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
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/
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
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
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
10 matches
Mail list logo