perf thread_map: Don't access the array entries directly
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:44 +0000 (18:21 -0300)
commite13798c77bdfed1da497f5e076b105b2be17b44f
tree8d68cd10b5986e5f6fcadd366ddcdcb425ee070b
parent7c31bb8c95ed269062ff7c7cc4a28b84a2b0f3a6
perf thread_map: Don't access the array entries directly

Instead provide a method to set the array entries, and another to access
the contents.

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/builtin-trace.c
tools/perf/tests/openat-syscall-tp-fields.c
tools/perf/util/auxtrace.c
tools/perf/util/event.c
tools/perf/util/evlist.c
tools/perf/util/evsel.c
tools/perf/util/thread_map.c
tools/perf/util/thread_map.h