summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWang Nan <wangnan0@huawei.com>2016-07-14 08:34:37 +0000
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-07-15 17:27:47 -0300
commit4876075b3205af992bf1012f6d6fbc03593d55b9 (patch)
treed60d7f96f09b697c6dc7dad009dec1b29df57648 /include
parenta4ea0ec4f24a721bea5447a27ad5fbcb89275bae (diff)
downloadlinux-4876075b3205af992bf1012f6d6fbc03593d55b9.tar.bz2
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 <wangnan0@huawei.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: He Kuang <hekuang@huawei.com> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Nilay Vaish <nilayvaish@gmail.com> Cc: Zefan Li <lizefan@huawei.com> Cc: pi3orama@163.com Link: http://lkml.kernel.org/r/1468485287-33422-6-git-send-email-wangnan0@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions