diff options
author | Stephane Eranian <[email protected]> | 2013-08-21 12:10:24 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-09-02 08:42:48 +0200 |
commit | 13d7a2410fa637f450a29ecb515ac318ee40c741 (patch) | |
tree | 04479b0a2b3a96ebeda6a414dfb8a32dc0d5467d /tools/perf/util/trace-event-scripting.c | |
parent | 1fa64180fbf7a33b7a30636a2f174a5cad68d48f (diff) |
perf: Add attr->mmap2 attribute to an event
Adds a new PERF_RECORD_MMAP2 record type which is essence
an expanded version of PERF_RECORD_MMAP.
Used to request mmap records with more information about
the mapping, including device major, minor and the inode
number and generation for mappings associated with files
or shared memory segments. Works for code and data
(with attr->mmap_data set).
Existing PERF_RECORD_MMAP record is unmodified by this patch.
Signed-off-by: Stephane Eranian <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Al Viro <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Added Al to the Cc:. Are the ino, maj/min exports of vma->vm_file OK? ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions