Home
last modified time | relevance | path

Searched refs:mm (Results 1 – 13 of 13) sorted by relevance

/tools/perf/arch/arm/util/
Dauxtrace.c112 u64 compat_auxtrace_mmap__read_head(struct auxtrace_mmap *mm) in compat_auxtrace_mmap__read_head() argument
114 struct perf_event_mmap_page *pc = mm->userpg; in compat_auxtrace_mmap__read_head()
126 int compat_auxtrace_mmap__write_tail(struct auxtrace_mmap *mm, u64 tail) in compat_auxtrace_mmap__write_tail() argument
128 struct perf_event_mmap_page *pc = mm->userpg; in compat_auxtrace_mmap__write_tail()
/tools/perf/util/
Dauxtrace.h384 struct auxtrace_mmap *mm, unsigned char *data,
443 u64 compat_auxtrace_mmap__read_head(struct auxtrace_mmap *mm);
444 int compat_auxtrace_mmap__write_tail(struct auxtrace_mmap *mm, u64 tail);
446 static inline u64 auxtrace_mmap__read_head(struct auxtrace_mmap *mm, in auxtrace_mmap__read_head() argument
449 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__read_head()
454 return compat_auxtrace_mmap__read_head(mm); in auxtrace_mmap__read_head()
463 static inline int auxtrace_mmap__write_tail(struct auxtrace_mmap *mm, u64 tail, in auxtrace_mmap__write_tail() argument
466 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__write_tail()
470 return compat_auxtrace_mmap__write_tail(mm, tail); in auxtrace_mmap__write_tail()
478 int auxtrace_mmap__mmap(struct auxtrace_mmap *mm,
[all …]
Dauxtrace.c112 int auxtrace_mmap__mmap(struct auxtrace_mmap *mm, in auxtrace_mmap__mmap() argument
118 WARN_ONCE(mm->base, "Uninitialized auxtrace_mmap\n"); in auxtrace_mmap__mmap()
120 mm->userpg = userpg; in auxtrace_mmap__mmap()
121 mm->mask = mp->mask; in auxtrace_mmap__mmap()
122 mm->len = mp->len; in auxtrace_mmap__mmap()
123 mm->prev = 0; in auxtrace_mmap__mmap()
124 mm->idx = mp->idx; in auxtrace_mmap__mmap()
125 mm->tid = mp->tid; in auxtrace_mmap__mmap()
126 mm->cpu = mp->cpu; in auxtrace_mmap__mmap()
129 mm->base = NULL; in auxtrace_mmap__mmap()
[all …]
Dmmap.c44 int __weak auxtrace_mmap__mmap(struct auxtrace_mmap *mm __maybe_unused, in auxtrace_mmap__mmap()
52 void __weak auxtrace_mmap__munmap(struct auxtrace_mmap *mm __maybe_unused) in auxtrace_mmap__munmap()
/tools/testing/selftests/ptrace/
Dvmaccess.c27 char mm[64]; in TEST() local
38 sprintf(mm, "/proc/%d/mem", pid); in TEST()
39 f = open(mm, O_RDONLY); in TEST()
/tools/perf/arch/x86/util/
Dintel-bts.c365 struct auxtrace_mmap *mm, unsigned char *data, in intel_bts_find_snapshot() argument
383 if (!wrapped && intel_bts_first_wrap((u64 *)data, mm->len)) { in intel_bts_find_snapshot()
396 *head += mm->len; in intel_bts_find_snapshot()
398 if (mm->mask) in intel_bts_find_snapshot()
399 *old &= mm->mask; in intel_bts_find_snapshot()
401 *old %= mm->len; in intel_bts_find_snapshot()
403 *head += mm->len; in intel_bts_find_snapshot()
Dintel-pt.c1087 struct auxtrace_mmap *mm, unsigned char *data, in intel_pt_wrapped() argument
1094 ptr->snapshot_ref_buf_size, mm->len, in intel_pt_wrapped()
1097 intel_pt_copy_ref(ref->ref_buf, ptr->snapshot_ref_buf_size, mm->len, in intel_pt_wrapped()
1121 struct auxtrace_mmap *mm, unsigned char *data, in intel_pt_find_snapshot() argument
1132 err = intel_pt_snapshot_init(ptr, mm->len); in intel_pt_find_snapshot()
1144 err = intel_pt_alloc_snapshot_ref(ptr, idx, mm->len); in intel_pt_find_snapshot()
1148 wrapped = intel_pt_wrapped(ptr, idx, mm, data, *head); in intel_pt_find_snapshot()
1151 if (!wrapped && intel_pt_first_wrap((u64 *)data, mm->len)) { in intel_pt_find_snapshot()
1165 *head += mm->len; in intel_pt_find_snapshot()
1167 if (mm->mask) in intel_pt_find_snapshot()
[all …]
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/tests/store_buffering/
DMakefile2 CBMC_FLAGS = -I../.. -I../../src -I../../include -I../../empty_includes -32 -pointer-check -mm pso
/tools/testing/selftests/powerpc/
DMakefile21 mm \
/tools/testing/selftests/bpf/progs/
Dlsm.c120 bpf_copy_from_user(args, sizeof(args), (void *)bprm->mm->arg_start); in BPF_PROG()
Dprofiler.inc.h729 void* arg_start = (void*)BPF_CORE_READ(task, mm, arg_start); in raw_tracepoint__sched_process_exec()
730 void* arg_end = (void*)BPF_CORE_READ(task, mm, arg_end); in raw_tracepoint__sched_process_exec()
741 void* env_start = (void*)BPF_CORE_READ(task, mm, env_start); in raw_tracepoint__sched_process_exec()
742 void* env_end = (void*)BPF_CORE_READ(task, mm, env_end); in raw_tracepoint__sched_process_exec()
/tools/testing/selftests/vm/
DMakefile4 LOCAL_HDRS += $(selfdir)/vm/local_config.h $(top_srcdir)/mm/gup_test.h
/tools/perf/scripts/python/
Dexported-sql-viewer.py3241 mm = "MM" if column else "MMMM"
3247 len = metrics.width(str(val) + mm)
3250 len = metrics.width(str(val) + mm)