Home
last modified time | relevance | path

Searched refs:mmap2 (Results 1 – 25 of 42) sorted by relevance

12

/linux/tools/perf/util/
H A Djitdump.c460 filename = event->mmap2.filename; in jit_repipe_code_load()
492 event->mmap2.header.type = PERF_RECORD_MMAP2; in jit_repipe_code_load()
493 event->mmap2.header.misc = PERF_RECORD_MISC_USER; in jit_repipe_code_load()
494 event->mmap2.header.size = (sizeof(event->mmap2) - in jit_repipe_code_load()
495 (sizeof(event->mmap2.filename) - size) + idr_size); in jit_repipe_code_load()
497 event->mmap2.pgoff = GEN_ELF_TEXT_OFFSET; in jit_repipe_code_load()
498 event->mmap2.start = addr; in jit_repipe_code_load()
499 event->mmap2.len = usize ? ALIGN_8(csize) + usize : csize; in jit_repipe_code_load()
500 event->mmap2 in jit_repipe_code_load()
[all...]
H A Dsynthetic-events.c468 event->mmap2.filename[0] = '\0'; in perf_event__synthesize_mmap_events()
472 &event->mmap2.start, in perf_event__synthesize_mmap_events()
473 &event->mmap2.len, in perf_event__synthesize_mmap_events()
474 &event->mmap2.prot, in perf_event__synthesize_mmap_events()
475 &event->mmap2.flags, in perf_event__synthesize_mmap_events()
476 &event->mmap2.pgoff, in perf_event__synthesize_mmap_events()
477 &event->mmap2.maj, in perf_event__synthesize_mmap_events()
478 &event->mmap2.min, in perf_event__synthesize_mmap_events()
479 &event->mmap2.ino, in perf_event__synthesize_mmap_events()
480 sizeof(event->mmap2 in perf_event__synthesize_mmap_events()
[all...]
H A Devent.c338 build_id__init(&bid, event->mmap2.build_id, in perf_event__fprintf_mmap2()
339 event->mmap2.build_id_size); in perf_event__fprintf_mmap2()
344 event->mmap2.pid, event->mmap2.tid, event->mmap2.start, in perf_event__fprintf_mmap2()
345 event->mmap2.len, event->mmap2.pgoff, sbuild_id, in perf_event__fprintf_mmap2()
346 (event->mmap2.prot & PROT_READ) ? 'r' : '-', in perf_event__fprintf_mmap2()
347 (event->mmap2.prot & PROT_WRITE) ? 'w' : '-', in perf_event__fprintf_mmap2()
348 (event->mmap2 in perf_event__fprintf_mmap2()
[all...]
H A Dsession.c356 event->mmap2.pid = bswap_32(event->mmap2.pid); in perf_event__read_swap()
357 event->mmap2.tid = bswap_32(event->mmap2.tid); in perf_event__read_swap()
358 event->mmap2.start = bswap_64(event->mmap2.start); in perf_event__read_swap()
359 event->mmap2.len = bswap_64(event->mmap2.len); in perf_event__read_swap()
360 event->mmap2.pgoff = bswap_64(event->mmap2 in perf_event__read_swap()
[all...]
H A Dmachine.c1784 build_id__init(&dso_id.build_id, event->mmap2.build_id, event->mmap2.build_id_size); in machine__process_mmap2_event()
1786 dso_id.maj = event->mmap2.maj; in machine__process_mmap2_event()
1787 dso_id.min = event->mmap2.min; in machine__process_mmap2_event()
1788 dso_id.ino = event->mmap2.ino; in machine__process_mmap2_event()
1789 dso_id.ino_generation = event->mmap2.ino_generation; in machine__process_mmap2_event()
1797 .start = event->mmap2.start, in machine__process_mmap_event()
1798 .end = event->mmap2.start + event->mmap2.len, in machine__process_mmap_event()
1799 .pgoff = event->mmap2 in machine__process_mmap_event()
[all...]
H A Ddata-convert-bt.c947 __FUNC_PROCESS_NON_SAMPLE(mmap2,
948 __NON_SAMPLE_SET_FIELD(mmap2, u32, pid);
949 __NON_SAMPLE_SET_FIELD(mmap2, u32, tid);
950 __NON_SAMPLE_SET_FIELD(mmap2, u64_hex, start);
951 __NON_SAMPLE_SET_FIELD(mmap2, string, filename);
1319 __FUNC_ADD_NON_SAMPLE_EVENT_CLASS(mmap2,
1725 c.tool.mmap2 = perf_event__process_mmap2; in bt_convert__perf2ctf()
1743 c.tool.mmap2 = process_mmap2_event; in bt_convert__perf2ctf()
H A Dtool.h49 mmap2,
50 mmap2, global() member
H A Dtool.c340 tool->mmap2 = process_event_stub; in perf_tool__init()
456 CREATE_DELEGATE_OP(mmap2);
529 tool->tool.mmap2 = delegate_mmap2;
H A Devsel.c177 WRITE_ASS(mmap2, "d"); in store_event()
1700 attr->mmap2 = track && !perf_missing_features.mmap2; in evsel__config()
2525 if (perf_missing_features.mmap2) in evsel__probe_aux_action()
2526 evsel->core.attr.mmap2 = 0; in evsel__probe_aux_action()
2873 attr.mmap2 = 1; in evsel__open_cpu()
2876 perf_missing_features.mmap2 = true; in evsel__open_cpu()
2877 pr_debug2_peo("switching off mmap2\n"); in evsel__open_cpu()
2878 attr.mmap2 = 0; in evsel__open_cpu()
2932 if (evsel->core.attr.mmap2 in evsel__open_cpu()
[all...]
H A Ddata-convert-json.c354 c.tool.mmap2 = perf_event__process_mmap2; in bt_convert__perf2json()
H A Dperf_event_attr_fprintf.c370 PRINT_ATTRf_bf(mmap2, p_unsigned);
H A Devsel.h214 bool mmap2;
205 bool mmap2; global() member
/linux/tools/perf/bench/
H A Dinject-buildid.c182 memset(&event, 0, min(len, sizeof(event.mmap2))); in synthesize_mmap()
188 event.mmap2.pid = data->pid; in synthesize_mmap()
189 event.mmap2.tid = data->pid; in synthesize_mmap()
190 event.mmap2.maj = MMAP_DEV_MAJOR; in synthesize_mmap()
191 event.mmap2.ino = dso->ino; in synthesize_mmap()
193 strcpy(event.mmap2.filename, dso->name); in synthesize_mmap()
195 event.mmap2.start = dso_map_addr(dso); in synthesize_mmap()
196 event.mmap2.len = 4096; in synthesize_mmap()
197 event.mmap2.prot = PROT_EXEC; in synthesize_mmap()
199 if (len > sizeof(event.mmap2)) { in synthesize_mmap()
[all...]
/linux/arch/powerpc/kernel/
H A Dsyscalls.c52 SYSCALL_DEFINE6(mmap2, unsigned long, addr, size_t, len, in SYSCALL_DEFINE6() argument
60 COMPAT_SYSCALL_DEFINE6(mmap2, in COMPAT_SYSCALL_DEFINE6() argument
/linux/tools/perf/
H A Dbuiltin-inject.c775 /* Injected mmap2 so no need to repipe. */ in perf_inject__parse_known_build_ids()
811 build_id__init(&id.build_id, event->mmap2.build_id, event->mmap2.build_id_size); in perf_inject__lookup_known_build_id()
813 id.maj = event->mmap2.maj; in perf_inject__lookup_known_build_id()
814 id.min = event->mmap2.min; in perf_inject__lookup_known_build_id()
815 id.ino = event->mmap2.ino; in perf_inject__lookup_known_build_id()
816 id.ino_generation = event->mmap2.ino_generation; in perf_inject__lookup_known_build_id()
823 event->mmap2.pid, event->mmap2.tid, in perf_inject__lookup_known_build_id()
824 event->mmap2 in perf_inject__lookup_known_build_id()
[all...]
H A Dbuiltin-buildid-list.c107 build_id__mark_dso_hit_ops.mmap2 = perf_event__process_mmap2; in perf_session__list_build_ids()
H A Dbuiltin-mem.c282 mem->tool.mmap2 = perf_event__process_mmap2; in report_raw_events()
/linux/arch/loongarch/kernel/
H A Dsyscall.c38 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, unsigned long, in SYSCALL_DEFINE6() argument
/linux/tools/perf/tests/
H A Dperf-record.c277 mmap_filename = event->mmap2.filename; in test__PERF_RECORD()
/linux/tools/perf/Documentation/
H A Dperf-inject.txt103 Currently only mmap, mmap2, comm, task, context_switch, ksymbol,
/linux/tools/include/uapi/linux/
H A Dperf_event.h452 mmap2 : 1, /* include mmap with inode data */ member
/linux/include/uapi/linux/
H A Dperf_event.h452 mmap2 : 1, /* include mmap with inode data */ member
/linux/tools/lib/perf/include/perf/
H A Devent.h602 struct perf_record_mmap2 mmap2;
595 struct perf_record_mmap2 mmap2; global() member
/linux/scripts/
H A Dsyscall.tbl266 222 32 mmap2 sys_mmap2
/linux/tools/scripts/
H A Dsyscall.tbl266 222 32 mmap2 sys_mmap2

12