diff options
author | Wang Nan <[email protected]> | 2016-07-14 08:34:35 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-15 17:27:46 -0300 |
commit | 8db6d6b19e486eef3db41bbd74a1f4c2b82d7706 (patch) | |
tree | 719f07ba8567f25333b292519b8d6864c40b09e7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2b4383470675c85add72725cc08840d36b409276 (diff) |
perf evlist: Update mmap related APIs and helpers
Currently, the evlist mmap related helpers and APIs accept evlist and
idx, and dereference 'struct perf_mmap' by evlist->mmap[idx]. This is
unnecessary, and force each evlist contains only one mmap array.
Following commits are going to introduce multiple mmap arrays to a
evlist. This patch refators these APIs and helpers, introduces
functions accept perf_mmap pointer directly. New helpers and APIs are
decoupled with perf_evlist, and become perf_mmap functions (so they have
perf_mmap prefix).
Old functions are reimplemented with new functions. Some of them will be
removed in following commits.
Signed-off-by: Wang Nan <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Nilay Vaish <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions