summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2015-04-24 21:29:43 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-05-04 17:43:48 +0200
commitb72e74d1f140eb32865540f9e26e9fe0fcf983b9 (patch)
tree7aa0ef710ef544602d6f290141955cad097cc493 /tools/perf/builtin-script.c
parentperf probe ppc64le: Fixup function entry if using kallsyms lookup (diff)
downloadlinux-b72e74d1f140eb32865540f9e26e9fe0fcf983b9.tar.xz
linux-b72e74d1f140eb32865540f9e26e9fe0fcf983b9.zip
perf evlist: Amend mmap ref counting for the AUX area mmap
Reference counting of the mmap buffer does not work correctly when there is an AUX area mmap also. In snapshot mode it is not easy to know if the AUX area mmap buffer contains usefull information. Equally the evlist does not know if the recording is in sanpshot mode anyway. Consequently, for now just assume the AUX area mmap always has data, which will just cause the mmap buffer to remain mmapped for the duration of the recording. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1429903807-20559-2-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions