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

2018-11-27 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 23, 2018 at 05:14:25PM +0100, Jiri Olsa escreveu: > On Fri, Nov 23, 2018 at 02:42:39AM -0800, Eric Saint-Etienne wrote: > > 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. > > > > Sign

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

2018-11-23 Thread Jiri Olsa
On Fri, Nov 23, 2018 at 02:42:39AM -0800, Eric Saint-Etienne wrote: > 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 Acked-by: Jiri Olsa thanks, jirka > -

[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/tools/pe