diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-10-28 11:50:12 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-11-06 15:43:06 -0300 |
commit | 20419d3a5bc0a278ed7e2ee54943674004411933 (patch) | |
tree | 06090a146ff0c0f142108d608d96a6534facc862 /tools/perf/builtin-report.c | |
parent | ee2555b612869a763563c5389ad789a52db0afd1 (diff) |
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 'tools/perf/builtin-report.c')
0 files changed, 0 insertions, 0 deletions