/linux-master/arch/loongarch/kernel/ |
H A D | kgdb.c | 459 struct perf_event * __percpu *pev; member in struct:hw_breakpoint 469 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); 481 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); 497 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); 594 bp = *per_cpu_ptr(breakinfo[i].pev, cpu); 616 bp = *per_cpu_ptr(breakinfo[i].pev, cpu); 644 bp = *per_cpu_ptr(breakinfo[i].pev, cpu); 695 if (breakinfo[i].pev) 698 breakinfo[i].pev = register_wide_hw_breakpoint(&attr, NULL, NULL); 699 if (IS_ERR((void * __force)breakinfo[i].pev)) { [all...] |
H A D | perf_event.c | 585 static unsigned int loongarch_pmu_perf_event_encode(const struct loongarch_perf_event *pev) argument 587 return M_PERFCTL_EVENT(pev->event_id); 592 const struct loongarch_perf_event *pev; local 594 pev = &(*loongarch_pmu.general_event_map)[idx]; 596 if (pev->event_id == HW_OP_UNSUPPORTED) 599 return pev; 605 const struct loongarch_perf_event *pev; local 619 pev = &((*loongarch_pmu.cache_event_map) 624 if (pev->event_id == CACHE_OP_UNSUPPORTED) 627 return pev; 742 const struct loongarch_perf_event *pev; local [all...] |
/linux-master/arch/mips/kernel/ |
H A D | perf_event_mipsxx.c | 700 static unsigned int mipspmu_perf_event_encode(const struct mips_perf_event *pev) argument 708 return ((unsigned int)pev->range << 24) | 709 (pev->cntr_mask & 0xffff00) | 710 (pev->event_id & 0xff); 715 return (pev->cntr_mask & 0xfffc00) | 716 (pev->event_id & 0x3ff); 718 return (pev->cntr_mask & 0xffff00) | 719 (pev->event_id & 0xff); 734 const struct mips_perf_event *pev; local 748 pev 1475 const struct mips_perf_event *pev; local [all...] |
/linux-master/arch/x86/kernel/ |
H A D | kgdb.c | 184 struct perf_event * __percpu *pev; member in struct:hw_breakpoint 208 bp = *per_cpu_ptr(breakinfo[breakno].pev, cpu); 237 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); 249 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); 264 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); 304 bp = *per_cpu_ptr(breakinfo[i].pev, cpu); 397 bp = *per_cpu_ptr(breakinfo[i].pev, cpu); 655 if (breakinfo[i].pev) 657 breakinfo[i].pev = register_wide_hw_breakpoint(&attr, NULL, NULL); 658 if (IS_ERR((void * __force)breakinfo[i].pev)) { [all...] |
/linux-master/tools/perf/arch/powerpc/util/ |
H A D | sym-handling.c | 78 void arch__fix_tev_from_maps(struct perf_probe_event *pev, argument 94 if (pev->point.offset || !map || !sym) 98 if (!pev->uprobes && pev->point.retprobe) { 110 if (pev->uprobes) 118 void arch__post_process_probe_trace_events(struct perf_probe_event *pev, argument 127 map = get_target_map(pev->target, pev->nsi, pev->uprobes); 132 tev = &pev [all...] |
/linux-master/tools/perf/ |
H A D | builtin-probe.c | 55 struct perf_probe_event *pev = ¶ms->events[params->nevents]; local 64 pev->uprobes = params->uprobes; 66 pev->target = strdup(params->target); 67 if (!pev->target) 72 pev->nsi = nsinfo__get(params->nsi); 75 ret = parse_perf_probe_command(str, pev); 76 pr_debug("%d arguments\n", pev->nargs); 256 struct perf_probe_event *pev = ¶ms->events[params->nevents]; local 263 if (!ret && pev->nargs != 0) { 375 struct perf_probe_event *pev local [all...] |
/linux-master/tools/perf/util/ |
H A D | print-events.c | 169 ent->pev.group, ent->pev.event, bid_nd->s);
|
H A D | probe-event.c | 445 struct perf_probe_event *pev, 450 memcpy(tmp, &pev->point, sizeof(*tmp)); 451 memset(&pev->point, 0, sizeof(pev->point)); 452 ret = find_alternative_probe_point(dinfo, tmp, &pev->point, pev->target, 453 pev->nsi, pev->uprobes); 455 memcpy(&pev->point, tmp, sizeof(*tmp)); 891 arch__post_process_probe_trace_events(struct perf_probe_event *pev __maybe_unuse 444 get_alternative_probe_event(struct debuginfo *dinfo, struct perf_probe_event *pev, struct perf_probe_point *tmp) argument 897 post_process_probe_trace_events(struct perf_probe_event *pev, struct probe_trace_event *tevs, int ntevs, const char *module, bool uprobe, struct debuginfo *dinfo) argument 921 try_to_find_probe_trace_events(struct perf_probe_event *pev, struct probe_trace_event **tevs) argument 1159 show_available_vars_at(struct debuginfo *dinfo, struct perf_probe_event *pev, struct strfilter *_filter) argument 1267 try_to_find_probe_trace_events(struct perf_probe_event *pev, struct probe_trace_event **tevs __maybe_unused) argument 1424 parse_perf_probe_event_name(char **arg, struct perf_probe_event *pev) argument 1456 parse_perf_probe_point(char *arg, struct perf_probe_event *pev) argument 1780 parse_perf_probe_command(const char *cmd, struct perf_probe_event *pev) argument 1833 perf_probe_with_var(struct perf_probe_event *pev) argument 1846 perf_probe_event_need_dwarf(struct perf_probe_event *pev) argument 2067 synthesize_perf_probe_command(struct perf_probe_event *pev) argument 2316 convert_to_perf_probe_event(struct probe_trace_event *tev, struct perf_probe_event *pev, bool is_kprobe) argument 2357 clear_perf_probe_event(struct perf_probe_event *pev) argument 2590 perf_probe_event__sprintf(const char *group, const char *event, struct perf_probe_event *pev, const char *module, struct strbuf *result) argument 2632 show_perf_probe_event(const char *group, const char *event, struct perf_probe_event *pev, const char *module, bool use_stdout) argument 2671 struct perf_probe_event pev; local 2838 probe_trace_event__set_name(struct probe_trace_event *tev, struct perf_probe_event *pev, struct strlist *namelist, bool allow_suffix) argument 2910 __add_probe_trace_events(struct perf_probe_event *pev, struct probe_trace_event *tevs, int ntevs, bool allow_suffix) argument 3044 find_probe_trace_events_from_map(struct perf_probe_event *pev, struct probe_trace_event **tevs) argument 3220 try_to_find_absolute_address(struct perf_probe_event *pev, struct probe_trace_event **tevs) argument 3361 find_cached_events(struct perf_probe_event *pev, struct probe_trace_event **tevs, const char *target) argument 3404 find_cached_events_all(struct perf_probe_event *pev, struct probe_trace_event **tevs) argument 3445 find_probe_trace_events_from_cache(struct perf_probe_event *pev, struct probe_trace_event **tevs) argument 3502 convert_to_probe_trace_events(struct perf_probe_event *pev, struct probe_trace_event **tevs) argument 3578 struct perf_probe_event *pev; local 3633 struct perf_probe_event *pev; local 3694 struct perf_probe_event *pev; local [all...] |
H A D | probe-event.h | 133 int parse_perf_probe_command(const char *cmd, struct perf_probe_event *pev); 137 char *synthesize_perf_probe_command(struct perf_probe_event *pev); 144 bool perf_probe_with_var(struct perf_probe_event *pev); 147 bool perf_probe_event_need_dwarf(struct perf_probe_event *pev); 150 void clear_perf_probe_event(struct perf_probe_event *pev); 174 struct perf_probe_event *pev, 183 void arch__fix_tev_from_maps(struct perf_probe_event *pev, 198 void arch__post_process_probe_trace_events(struct perf_probe_event *pev,
|
H A D | probe-file.c | 395 clear_perf_probe_event(&entry->pev); 402 probe_cache_entry__new(struct perf_probe_event *pev) argument 411 else if (pev) { 412 entry->spev = synthesize_perf_probe_command(pev); 414 perf_probe_event__copy(&entry->pev, pev) < 0) { 544 &entry->pev); 640 probe_cache__find(struct probe_cache *pcache, struct perf_probe_event *pev) argument 643 char *cmd = synthesize_perf_probe_command(pev); 649 if (pev 690 probe_cache__add_entry(struct probe_cache *pcache, struct perf_probe_event *pev, struct probe_trace_event *tevs, int ntevs) argument [all...] |
H A D | probe-file.h | 14 struct perf_probe_event pev; member in struct:probe_cache_entry 57 struct perf_probe_event *pev, 66 struct perf_probe_event *pev);
|
H A D | probe-finder.c | 684 .function = pf->pev->point.function, 719 if (pf->pev->point.function) { 723 && die_match_name(&die_mem, pf->pev->point.function) 861 pf->pev->point.lazy_line); 872 struct perf_probe_point *pp = &pf->pev->point; 875 if (!pf->pev->uprobes) 892 if (!perf_probe_with_var(pf->pev)) 905 struct perf_probe_point *pp = &pf->pev->point; 945 struct perf_probe_point *pp = &pf->pev->point; 1050 struct perf_probe_point *pp = &pf->pev 1316 fill_empty_trace_arg(struct perf_probe_event *pev, struct probe_trace_event *tevs, int ntevs) argument 1358 debuginfo__find_trace_events(struct debuginfo *dbg, struct perf_probe_event *pev, struct probe_trace_event **tevs) argument 1528 debuginfo__find_available_vars_at(struct debuginfo *dbg, struct perf_probe_event *pev, struct variable_list **vls) argument [all...] |
H A D | probe-finder.h | 31 struct perf_probe_event *pev, 43 struct perf_probe_event *pev, 51 struct perf_probe_event *pev; /* Target probe event */ member in struct:probe_finder
|
/linux-master/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 213 int handle_events(int epoll_fd, struct proc_event *pev) argument 234 err = handle_packet(buff, ev[i].data.fd, pev);
|