aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/machine.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-10-28 11:50:12 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-11-06 15:43:06 -0300
commit20419d3a5bc0a278ed7e2ee54943674004411933 (patch)
tree06090a146ff0c0f142108d608d96a6534facc862 /tools/perf/util/machine.c
parentperf map: Check if the map still has some refcounts on exit (diff)
downloadlinux-dev-20419d3a5bc0a278ed7e2ee54943674004411933.tar.xz
linux-dev-20419d3a5bc0a278ed7e2ee54943674004411933.zip
perf map: Allow map__next() to receive a NULL arg
Just like free(), return NULL in that case, will simplify the for_each_entry_safe() iterators. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-pbde2ucn49khnrebclys9pny@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions