diff options
author | 2017-02-23 13:24:34 -0300 | |
---|---|---|
committer | 2017-03-03 19:07:16 -0300 | |
commit | 4738ca30b4a7a113084d7863846175094f95c62f (patch) | |
tree | 838fdd3b49d186f5fda9b23ab567e003c0634567 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf thread_map: Convert thread_map.refcnt from atomic_t to refcount_t (diff) | |
download | linux-dev-4738ca30b4a7a113084d7863846175094f95c62f.tar.xz linux-dev-4738ca30b4a7a113084d7863846175094f95c62f.zip |
perf evlist: Clarify a bit the use of perf_mmap->refcnt
This is an odd refcount use case, so add some more comments to help
understand that when it hits zero it really means that the mmap()ed area
(on a perf_event_open() returned fd) has been munmap()ed.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Elena Reshetova <elena.reshetova@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/20170223162344.GD3595@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions