/tools/testing/selftests/ptrace/ |
D | vmaccess.c | 27 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/util/ |
D | auxtrace.h | 374 struct auxtrace_mmap *mm, unsigned char *data, 439 static inline u64 auxtrace_mmap__read_snapshot_head(struct auxtrace_mmap *mm) in auxtrace_mmap__read_snapshot_head() argument 441 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__read_snapshot_head() 449 static inline u64 auxtrace_mmap__read_head(struct auxtrace_mmap *mm) in auxtrace_mmap__read_head() argument 451 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__read_head() 463 static inline void auxtrace_mmap__write_tail(struct auxtrace_mmap *mm, u64 tail) in auxtrace_mmap__write_tail() argument 465 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__write_tail() 481 int auxtrace_mmap__mmap(struct auxtrace_mmap *mm, 484 void auxtrace_mmap__munmap(struct auxtrace_mmap *mm); 573 struct auxtrace_mmap *mm, [all …]
|
D | auxtrace.c | 114 int auxtrace_mmap__mmap(struct auxtrace_mmap *mm, in auxtrace_mmap__mmap() argument 120 WARN_ONCE(mm->base, "Uninitialized auxtrace_mmap\n"); in auxtrace_mmap__mmap() 122 mm->userpg = userpg; in auxtrace_mmap__mmap() 123 mm->mask = mp->mask; in auxtrace_mmap__mmap() 124 mm->len = mp->len; in auxtrace_mmap__mmap() 125 mm->prev = 0; in auxtrace_mmap__mmap() 126 mm->idx = mp->idx; in auxtrace_mmap__mmap() 127 mm->tid = mp->tid; in auxtrace_mmap__mmap() 128 mm->cpu = mp->cpu; in auxtrace_mmap__mmap() 131 mm->base = NULL; in auxtrace_mmap__mmap() [all …]
|
D | mmap.c | 44 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/perf/arch/x86/util/ |
D | intel-bts.c | 365 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()
|
D | intel-pt.c | 1081 struct auxtrace_mmap *mm, unsigned char *data, in intel_pt_wrapped() argument 1088 ptr->snapshot_ref_buf_size, mm->len, in intel_pt_wrapped() 1091 intel_pt_copy_ref(ref->ref_buf, ptr->snapshot_ref_buf_size, mm->len, in intel_pt_wrapped() 1115 struct auxtrace_mmap *mm, unsigned char *data, in intel_pt_find_snapshot() argument 1126 err = intel_pt_snapshot_init(ptr, mm->len); in intel_pt_find_snapshot() 1138 err = intel_pt_alloc_snapshot_ref(ptr, idx, mm->len); in intel_pt_find_snapshot() 1142 wrapped = intel_pt_wrapped(ptr, idx, mm, data, *head); in intel_pt_find_snapshot() 1145 if (!wrapped && intel_pt_first_wrap((u64 *)data, mm->len)) { in intel_pt_find_snapshot() 1159 *head += mm->len; in intel_pt_find_snapshot() 1161 if (mm->mask) in intel_pt_find_snapshot() [all …]
|
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/tests/store_buffering/ |
D | Makefile | 2 CBMC_FLAGS = -I../.. -I../../src -I../../include -I../../empty_includes -32 -pointer-check -mm pso
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 770 int idx, struct auxtrace_mmap *mm, in cs_etm_find_snapshot() argument 796 if (!wrapped && cs_etm_buffer_has_wrapped(data, mm->len, *head)) { in cs_etm_find_snapshot() 802 __func__, idx, (size_t)*old, (size_t)*head, mm->len); in cs_etm_find_snapshot() 812 if (*head >= mm->len) { in cs_etm_find_snapshot() 813 *old = *head - mm->len; in cs_etm_find_snapshot() 815 *head += mm->len; in cs_etm_find_snapshot() 816 *old = *head - mm->len; in cs_etm_find_snapshot()
|
/tools/testing/selftests/powerpc/ |
D | Makefile | 21 mm \
|
/tools/testing/selftests/bpf/progs/ |
D | lsm.c | 72 bpf_copy_from_user(args, sizeof(args), (void *)bprm->mm->arg_start); in BPF_PROG()
|
D | profiler.inc.h | 729 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/perf/scripts/python/ |
D | exported-sql-viewer.py | 3240 mm = "MM" if column else "MMMM" 3246 len = metrics.width(str(val) + mm) 3249 len = metrics.width(str(val) + mm)
|