Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dcore_reloc.c773 void *mmap_data = NULL; in test_core_reloc() local
821 mmap_data = mmap(NULL, mmap_sz, PROT_READ | PROT_WRITE, in test_core_reloc()
823 if (CHECK(mmap_data == MAP_FAILED, "mmap", in test_core_reloc()
825 mmap_data = NULL; in test_core_reloc()
828 data = mmap_data; in test_core_reloc()
830 memset(mmap_data, 0, sizeof(*data)); in test_core_reloc()
870 if (mmap_data) { in test_core_reloc()
871 CHECK_FAIL(munmap(mmap_data, mmap_sz)); in test_core_reloc()
872 mmap_data = NULL; in test_core_reloc()
/Linux-v5.10/tools/perf/util/
Dsynthetic-events.h45 …nt, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_data);
55 … perf_thread_map *threads, perf_event__handler_t process, struct machine *machine, bool mmap_data);
56 …ool *tool, perf_event__handler_t process, struct machine *machine, bool mmap_data, unsigned int nr…
Dsynthetic-events.c355 bool mmap_data) in perf_event__synthesize_mmap_events() argument
426 if (!mmap_data || (event->mmap2.prot & PROT_READ) == 0) in perf_event__synthesize_mmap_events()
651 struct perf_tool *tool, struct machine *machine, bool mmap_data) in __event__synthesize_thread() argument
677 process, machine, mmap_data)) in __event__synthesize_thread()
726 process, machine, mmap_data); in __event__synthesize_thread()
740 bool mmap_data) in perf_event__synthesize_thread_map() argument
770 mmap_data)) { in perf_event__synthesize_thread_map()
796 mmap_data)) { in perf_event__synthesize_thread_map()
816 bool mmap_data, in __perf_event__synthesize_threads() argument
860 tool, machine, mmap_data); in __perf_event__synthesize_threads()
[all …]
Dpython.c770 mmap_data = 0, in pyrf_evsel__init() local
783 &precise_ip, &mmap_data, &sample_id_all, in pyrf_evsel__init()
813 attr.mmap_data = mmap_data; in pyrf_evsel__init()
Dperf_event_attr_fprintf.c121 PRINT_ATTRf(mmap_data, p_unsigned); in perf_event_attr__fprintf()
Devsel.c998 evsel->core.attr.mmap_data = track; in evsel__apply_config_terms()
1111 attr->mmap_data = track; in evsel__config()
/Linux-v5.10/tools/perf/tests/attr/
Dtest-record-data10 mmap_data=1
Dtest-record-graph-dwarf12 mmap_data=1
Dbase-record29 mmap_data=0
Dbase-stat29 mmap_data=0
Dsystem-wide-dummy32 mmap_data=0
/Linux-v5.10/tools/perf/tests/
Dattr.c122 WRITE_ASS(mmap_data, "d"); in store_event()
/Linux-v5.10/include/uapi/linux/
Dperf_event.h368 mmap_data : 1, /* non-exec mmap data */ member
/Linux-v5.10/tools/include/uapi/linux/
Dperf_event.h368 mmap_data : 1, /* non-exec mmap data */ member
/Linux-v5.10/kernel/events/
Dcore.c4611 if (attr->mmap || attr->mmap_data || attr->mmap2 || in is_sb_event()
4666 if (event->attr.mmap || event->attr.mmap_data) in unaccount_event()
7510 event->attr.mmap2 || event->attr.mmap_data || in perf_event_task_match()
7956 return (!executable && event->attr.mmap_data) || in perf_event_mmap_match()
11061 if (event->attr.mmap || event->attr.mmap_data) in account_event()
/Linux-v5.10/tools/perf/
Dbuiltin-trace.c3083 .mmap_data = 1,