summaryrefslogtreecommitdiff
path: root/tools/perf/util/thread_map.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2015-06-26 09:29:06 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-06-26 14:03:41 (GMT)
commit62eea464380633b88902da35bf9cbd8515289703 (patch)
treea3dd5b2c6477c6a6cd2442be7fa702aac8e58c5d /tools/perf/util/thread_map.h
parentd0cc439b30be638c3a606767e9469c300d397433 (diff)
downloadlinux-62eea464380633b88902da35bf9cbd8515289703.tar.xz
perf thread_map: Introduce thread_map__reset function
We need to reset newly allocated 'struct thread_map_data' entries, because we will introduce new comm memeber, which will get set later or not at all. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1435310967-14570-2-git-send-email-jolsa@kernel.org [ Use sizeof(map->map[0]) to be independent of the array entry type ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/thread_map.h')
0 files changed, 0 insertions, 0 deletions