perf thread_map: Change map entries into a struct
authorJiri Olsa <jolsa@kernel.org>
Mon, 22 Jun 2015 22:36:02 +0000 (00:36 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Jun 2015 21:21:45 +0000 (18:21 -0300)
commit38e89d2b1771649c006720903c06d8b8bedd4d83
tree593ccdf4a7b84a9b2a743d01b7d260ec84cece63
parente13798c77bdfed1da497f5e076b105b2be17b44f
perf thread_map: Change map entries into a struct

We need to store command names with the pid. Changing map entries to be
a struct holding pid. Process name is coming in shortly.

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/1435012588-9007-2-git-send-email-jolsa@kernel.org
[ Split providing the set/get accessors from transforming the entries structs ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/thread_map.h