aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWang Nan <[email protected]>2016-07-14 08:34:37 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-07-15 17:27:47 -0300
commit4876075b3205af992bf1012f6d6fbc03593d55b9 (patch)
treed60d7f96f09b697c6dc7dad009dec1b29df57648 /tools/perf/scripts/python/export-to-postgresql.py
parenta4ea0ec4f24a721bea5447a27ad5fbcb89275bae (diff)
perf evlist: Record mmap cookie into fdarray private field
Insetad of saving a index into fdarray entries private field, save the corresponding 'struct perf_mmap' pointer, and release them directly using perf_mmap__put(). Following commits introduce multiple mmap arrays to evlist. Without this patch, perf_evlist__munmap_filtered() is unable to retrive correct 'struct perf_mmap' pointer. 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