Home
last modified time | relevance | path

Searched refs:mmap_data (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dcore_reloc.c1010 void *mmap_data = NULL; in run_core_reloc_tests() local
1083 mmap_data = mmap(NULL, mmap_sz, PROT_READ | PROT_WRITE, in run_core_reloc_tests()
1085 if (CHECK(mmap_data == MAP_FAILED, "mmap", in run_core_reloc_tests()
1087 mmap_data = NULL; in run_core_reloc_tests()
1090 data = mmap_data; in run_core_reloc_tests()
1092 memset(mmap_data, 0, sizeof(*data)); in run_core_reloc_tests()
1135 if (mmap_data) { in run_core_reloc_tests()
1136 CHECK_FAIL(munmap(mmap_data, mmap_sz)); in run_core_reloc_tests()
1137 mmap_data = NULL; in run_core_reloc_tests()
/linux-6.6.21/tools/perf/util/
Dsynthetic-events.h61 …nt, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_data);
71 …*threads, perf_event__handler_t process, struct machine *machine, bool needs_mmap, bool mmap_data);
72 …vent__handler_t process, struct machine *machine, bool needs_mmap, bool mmap_data, unsigned int nr…
Dsynthetic-events.c426 bool mmap_data) in perf_event__synthesize_mmap_events() argument
497 if (!mmap_data || (event->mmap2.prot & PROT_READ) == 0) in perf_event__synthesize_mmap_events()
751 bool needs_mmap, bool mmap_data) in __event__synthesize_thread() argument
777 process, machine, mmap_data)) in __event__synthesize_thread()
826 process, machine, mmap_data); in __event__synthesize_thread()
843 bool needs_mmap, bool mmap_data) in perf_event__synthesize_thread_map() argument
873 needs_mmap, mmap_data)) { in perf_event__synthesize_thread_map()
899 needs_mmap, mmap_data)) { in perf_event__synthesize_thread_map()
920 bool mmap_data, in __perf_event__synthesize_threads() argument
964 tool, machine, needs_mmap, mmap_data); in __perf_event__synthesize_threads()
[all …]
Dpython.c873 mmap_data = 0, in pyrf_evsel__init() local
886 &precise_ip, &mmap_data, &sample_id_all, in pyrf_evsel__init()
916 attr.mmap_data = mmap_data; in pyrf_evsel__init()
Dperf_event_attr_fprintf.c290 PRINT_ATTRf(mmap_data, p_unsigned); in perf_event_attr__fprintf()
Devsel.c1054 evsel->core.attr.mmap_data = track; in evsel__apply_config_terms()
1192 attr->mmap_data = track; in evsel__config()
/linux-6.6.21/tools/perf/tests/attr/
Dtest-record-data10 mmap_data=1
Dtest-record-graph-dwarf12 mmap_data=1
Dbase-record-spe28 mmap_data=*
Dbase-record29 mmap_data=0
Dbase-stat29 mmap_data=0
Dsystem-wide-dummy32 mmap_data=0
/linux-6.6.21/tools/perf/tests/
Dattr.c123 WRITE_ASS(mmap_data, "d"); in store_event()
/linux-6.6.21/tools/bpf/bpftool/
Dgen.c703 const void *mmap_data = NULL; in gen_trace() local
713 mmap_data = bpf_map__initial_value(map, &mmap_size); in gen_trace()
714 print_hex(mmap_data, mmap_size); in gen_trace()
/linux-6.6.21/include/uapi/linux/
Dperf_event.h436 mmap_data : 1, /* non-exec mmap data */ member
/linux-6.6.21/tools/include/uapi/linux/
Dperf_event.h436 mmap_data : 1, /* non-exec mmap data */ member
/linux-6.6.21/kernel/events/
Dcore.c4998 if (attr->mmap || attr->mmap_data || attr->mmap2 || in is_sb_event()
5044 if (event->attr.mmap || event->attr.mmap_data) in unaccount_event()
8166 event->attr.mmap2 || event->attr.mmap_data || in perf_event_task_match()
8614 return (!executable && event->attr.mmap_data) || in perf_event_mmap_match()
11804 if (event->attr.mmap || event->attr.mmap_data) in account_event()
/linux-6.6.21/tools/perf/
Dbuiltin-trace.c3146 .mmap_data = 1,