diff options
author | Wang Nan <[email protected]> | 2016-07-14 08:34:34 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-15 17:27:46 -0300 |
commit | 2b4383470675c85add72725cc08840d36b409276 (patch) | |
tree | 04f0c42117300ca2325be79aa514a4d29d2cac91 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e81fcd43723d32e9c9dbb8e8d66f147b5b84256b (diff) |
tools lib fd array: Allow associating a pointer cookie with each entry
Add a 'ptr' field to fdarray->priv array.
This feature will be used by following commits, which introduce
muiltiple 'struct perf_mmap' arrays for different types of mapping.
Because of this, during fdarray__filter(), a simple 'idx' is not enough.
Add a pointer cookie that allows to directly associate a 'struct
perf_mmap' pointer to an fdarray entry.
Signed-off-by: Wang Nan <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Nilay Vaish <[email protected]>
Cc: Peter Zijlstra <[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