commit | 20419d3a5bc0a278ed7e2ee54943674004411933 | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Mon Oct 28 11:50:12 2019 -0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Wed Nov 06 15:43:06 2019 -0300 |
tree | 06090a146ff0c0f142108d608d96a6534facc862 | |
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>