diff options
author | Eric Saint-Etienne <eric.saint.etienne@oracle.com> | 2018-11-23 11:42:39 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-12-17 18:53:57 +0100 |
commit | b18e088825883bcb8dc4c4a641494049cf8ccec3 (patch) | |
tree | 3ea8af32953b85fc343ab2b29539936f43974c08 /tools/perf/util/env.c | |
parent | perf stat: Fix CSV mode column output for non-cgroup events (diff) | |
download | linux-b18e088825883bcb8dc4c4a641494049cf8ccec3.tar.xz linux-b18e088825883bcb8dc4c4a641494049cf8ccec3.zip |
perf map: Remove extra indirection from map__find()
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 <eric.saint.etienne@oracle.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Eric Saint-Etienne <eric.saintetienne@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1542969759-24346-1-git-send-email-eric.saint.etienne@oracle.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/env.c')
0 files changed, 0 insertions, 0 deletions