/linux-4.1.27/tools/perf/util/ |
D | event.c | 255 &event->mmap2.start, &event->mmap2.len, prot, in perf_event__synthesize_mmap_events() 256 &event->mmap2.pgoff, &event->mmap2.maj, in perf_event__synthesize_mmap_events() 257 &event->mmap2.min, in perf_event__synthesize_mmap_events() 266 event->mmap2.ino = (u64)ino; in perf_event__synthesize_mmap_events() 277 event->mmap2.prot = 0; in perf_event__synthesize_mmap_events() 278 event->mmap2.flags = 0; in perf_event__synthesize_mmap_events() 280 event->mmap2.prot |= PROT_READ; in perf_event__synthesize_mmap_events() 282 event->mmap2.prot |= PROT_WRITE; in perf_event__synthesize_mmap_events() 284 event->mmap2.prot |= PROT_EXEC; in perf_event__synthesize_mmap_events() 287 event->mmap2.flags |= MAP_SHARED; in perf_event__synthesize_mmap_events() [all …]
|
D | session.c | 271 if (tool->mmap2 == NULL) in perf_tool__fill_defaults() 272 tool->mmap2 = process_event_stub; in perf_tool__fill_defaults() 352 event->mmap2.pid = bswap_32(event->mmap2.pid); in perf_event__mmap2_swap() 353 event->mmap2.tid = bswap_32(event->mmap2.tid); in perf_event__mmap2_swap() 354 event->mmap2.start = bswap_64(event->mmap2.start); in perf_event__mmap2_swap() 355 event->mmap2.len = bswap_64(event->mmap2.len); in perf_event__mmap2_swap() 356 event->mmap2.pgoff = bswap_64(event->mmap2.pgoff); in perf_event__mmap2_swap() 357 event->mmap2.maj = bswap_32(event->mmap2.maj); in perf_event__mmap2_swap() 358 event->mmap2.min = bswap_32(event->mmap2.min); in perf_event__mmap2_swap() 359 event->mmap2.ino = bswap_64(event->mmap2.ino); in perf_event__mmap2_swap() [all …]
|
D | machine.c | 1180 thread = machine__findnew_thread(machine, event->mmap2.pid, in machine__process_mmap2_event() 1181 event->mmap2.tid); in machine__process_mmap2_event() 1190 map = map__new(machine, event->mmap2.start, in machine__process_mmap2_event() 1191 event->mmap2.len, event->mmap2.pgoff, in machine__process_mmap2_event() 1192 event->mmap2.pid, event->mmap2.maj, in machine__process_mmap2_event() 1193 event->mmap2.min, event->mmap2.ino, in machine__process_mmap2_event() 1194 event->mmap2.ino_generation, in machine__process_mmap2_event() 1195 event->mmap2.prot, in machine__process_mmap2_event() 1196 event->mmap2.flags, in machine__process_mmap2_event() 1197 event->mmap2.filename, type, thread); in machine__process_mmap2_event()
|
D | tool.h | 36 mmap2, member
|
D | evsel.c | 33 bool mmap2; member 735 attr->mmap2 = track && !perf_missing_features.mmap2; in perf_evsel__config() 1112 PRINT_ATTRf(mmap2, p_unsigned); in perf_event_attr__fprintf() 1165 if (perf_missing_features.mmap2) in __perf_evsel__open() 1166 evsel->attr.mmap2 = 0; in __perf_evsel__open() 1261 } else if (!perf_missing_features.mmap2 && evsel->attr.mmap2) { in __perf_evsel__open() 1262 perf_missing_features.mmap2 = true; in __perf_evsel__open()
|
D | event.h | 286 struct mmap2_event mmap2; member
|
D | build-id.c | 71 .mmap2 = perf_event__process_mmap2,
|
D | data-convert-bt.c | 806 .mmap2 = perf_event__process_mmap2, in bt_convert__perf2ctf()
|
/linux-4.1.27/arch/microblaze/kernel/ |
D | sys_microblaze.c | 46 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
|
/linux-4.1.27/arch/s390/kernel/ |
D | sys_s390.c | 48 SYSCALL_DEFINE1(mmap2, struct s390_mmap_arg_struct __user *, arg) in SYSCALL_DEFINE1() argument
|
/linux-4.1.27/arch/tile/kernel/ |
D | sys.c | 77 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
|
/linux-4.1.27/tools/perf/ |
D | builtin-inject.c | 359 inject->tool.mmap2 = perf_event__repipe_mmap2; in __cmd_inject() 406 .mmap2 = perf_event__repipe, in cmd_inject()
|
D | builtin-script.c | 755 thread = machine__findnew_thread(machine, event->mmap2.pid, event->mmap2.tid); in process_mmap2_event() 764 sample->tid = event->mmap2.tid; in process_mmap2_event() 765 sample->pid = event->mmap2.pid; in process_mmap2_event() 792 script->tool.mmap2 = process_mmap2_event; in __cmd_script() 1507 .mmap2 = perf_event__process_mmap2, in cmd_script()
|
D | builtin-mem.c | 266 .mmap2 = perf_event__process_mmap2, in cmd_mem()
|
D | builtin-annotate.c | 277 .mmap2 = perf_event__process_mmap2, in cmd_annotate()
|
D | builtin-report.c | 601 .mmap2 = perf_event__process_mmap2, in cmd_report()
|
D | builtin-record.c | 832 .mmap2 = perf_event__process_mmap2,
|
D | builtin-kmem.c | 504 .mmap2 = perf_event__process_mmap2,
|
D | builtin-diff.c | 360 .mmap2 = perf_event__process_mmap2,
|
D | builtin-trace.c | 2363 trace->tool.mmap2 = perf_event__process_mmap2; in trace__replay()
|
/linux-4.1.27/tools/perf/tests/ |
D | perf-record.c | 238 mmap_filename = event->mmap2.filename; in test__PERF_RECORD()
|
/linux-4.1.27/include/uapi/linux/ |
D | perf_event.h | 328 mmap2 : 1, /* include mmap with inode data */ member
|
/linux-4.1.27/arch/parisc/kernel/ |
D | syscall_table.S | 165 ENTRY_SAME(mmap2)
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | systbl.h | 199 SYS32ONLY(mmap2)
|
/linux-4.1.27/arch/x86/syscalls/ |
D | syscall_32.tbl | 201 192 i386 mmap2 sys_mmap_pgoff
|
/linux-4.1.27/kernel/events/ |
D | core.c | 5559 event->attr.mmap2 || event->attr.mmap_data || in perf_event_task_match() 5769 (executable && (event->attr.mmap || event->attr.mmap2)); in perf_event_mmap_match() 5784 if (event->attr.mmap2) { in perf_event_mmap_output() 5805 if (event->attr.mmap2) { in perf_event_mmap_output()
|