Searched refs:mp (Results 1 – 7 of 7) sorted by relevance
/tools/power/x86/turbostat/ |
D | turbostat.c | 626 struct msr_counter *mp; in print_header() local 666 for (mp = sys.tp; mp; mp = mp->next) { in print_header() 668 if (mp->format == FORMAT_RAW) { in print_header() 669 if (mp->width == 64) in print_header() 670 outp += sprintf(outp, "%s%18.18s", (printed++ ? delim : ""), mp->name); in print_header() 672 outp += sprintf(outp, "%s%10.10s", (printed++ ? delim : ""), mp->name); in print_header() 674 if ((mp->type == COUNTER_ITEMS) && sums_need_wide_columns) in print_header() 675 outp += sprintf(outp, "%s%8s", (printed++ ? delim : ""), mp->name); in print_header() 677 outp += sprintf(outp, "%s%s", (printed++ ? delim : ""), mp->name); in print_header() 704 for (mp = sys.cp; mp; mp = mp->next) { in print_header() [all …]
|
/tools/perf/util/ |
D | mmap.c | 139 struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap__mmap() 150 void __weak auxtrace_mmap_params__init(struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap_params__init() 157 void __weak auxtrace_mmap_params__set_idx(struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap_params__set_idx() 232 static int perf_mmap__aio_mmap(struct mmap *map, struct mmap_params *mp) in perf_mmap__aio_mmap() argument 236 map->aio.nr_cblocks = mp->nr_cblocks; in perf_mmap__aio_mmap() 260 ret = perf_mmap__aio_bind(map, i, map->core.cpu, mp->affinity); in perf_mmap__aio_mmap() 304 struct mmap_params *mp __maybe_unused) in perf_mmap__aio_mmap() 347 static void perf_mmap__setup_affinity_mask(struct mmap *map, struct mmap_params *mp) in perf_mmap__setup_affinity_mask() argument 350 if (mp->affinity == PERF_AFFINITY_NODE && cpu__max_node() > 1) in perf_mmap__setup_affinity_mask() 352 else if (mp->affinity == PERF_AFFINITY_CPU) in perf_mmap__setup_affinity_mask() [all …]
|
D | auxtrace.c | 67 struct auxtrace_mmap_params *mp, in auxtrace_mmap__mmap() argument 75 mm->mask = mp->mask; in auxtrace_mmap__mmap() 76 mm->len = mp->len; in auxtrace_mmap__mmap() 78 mm->idx = mp->idx; in auxtrace_mmap__mmap() 79 mm->tid = mp->tid; in auxtrace_mmap__mmap() 80 mm->cpu = mp->cpu; in auxtrace_mmap__mmap() 82 if (!mp->len) { in auxtrace_mmap__mmap() 92 pc->aux_offset = mp->offset; in auxtrace_mmap__mmap() 93 pc->aux_size = mp->len; in auxtrace_mmap__mmap() 95 mm->base = mmap(NULL, mp->len, mp->prot, MAP_SHARED, fd, mp->offset); in auxtrace_mmap__mmap() [all …]
|
D | auxtrace.h | 436 struct auxtrace_mmap_params *mp, 439 void auxtrace_mmap_params__init(struct auxtrace_mmap_params *mp, 443 void auxtrace_mmap_params__set_idx(struct auxtrace_mmap_params *mp, 709 struct auxtrace_mmap_params *mp, 712 void auxtrace_mmap_params__init(struct auxtrace_mmap_params *mp, 716 void auxtrace_mmap_params__set_idx(struct auxtrace_mmap_params *mp,
|
D | evlist.c | 634 struct mmap_params *mp, int cpu_idx, in evlist__mmap_per_evsel() argument 647 mp->prot = PROT_READ | PROT_WRITE; in evlist__mmap_per_evsel() 660 mp->prot &= ~PROT_WRITE; in evlist__mmap_per_evsel() 675 if (perf_mmap__mmap(&maps[idx], mp, *output, evlist_cpu) < 0) in evlist__mmap_per_evsel() 712 struct mmap_params *mp) in evlist__mmap_per_cpu() argument 723 auxtrace_mmap_params__set_idx(&mp->auxtrace_mp, evlist, cpu, in evlist__mmap_per_cpu() 727 if (evlist__mmap_per_evsel(evlist, cpu, mp, cpu, in evlist__mmap_per_cpu() 741 struct mmap_params *mp) in evlist__mmap_per_thread() argument 751 auxtrace_mmap_params__set_idx(&mp->auxtrace_mp, evlist, thread, in evlist__mmap_per_thread() 754 if (evlist__mmap_per_evsel(evlist, thread, mp, 0, thread, in evlist__mmap_per_thread() [all …]
|
D | mmap.h | 44 int perf_mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, int cpu);
|
D | sort.c | 949 unsigned char mp, p; in sort__mispredict_cmp() local 954 mp = left->branch_info->flags.mispred != right->branch_info->flags.mispred; in sort__mispredict_cmp() 956 return mp || p; in sort__mispredict_cmp()
|