Home
last modified time | relevance | path

Searched refs:pev (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/tools/perf/util/
Dprobe-event.c420 struct perf_probe_event *pev, in get_alternative_probe_event() argument
425 memcpy(tmp, &pev->point, sizeof(*tmp)); in get_alternative_probe_event()
426 memset(&pev->point, 0, sizeof(pev->point)); in get_alternative_probe_event()
427 ret = find_alternative_probe_point(dinfo, tmp, &pev->point, pev->target, in get_alternative_probe_event()
428 pev->nsi, pev->uprobes); in get_alternative_probe_event()
430 memcpy(&pev->point, tmp, sizeof(*tmp)); in get_alternative_probe_event()
866 arch__post_process_probe_trace_events(struct perf_probe_event *pev __maybe_unused, in arch__post_process_probe_trace_events()
872 static int post_process_probe_trace_events(struct perf_probe_event *pev, in post_process_probe_trace_events() argument
881 pev->nsi); in post_process_probe_trace_events()
890 arch__post_process_probe_trace_events(pev, ntevs); in post_process_probe_trace_events()
[all …]
Dbpf-loader.c47 struct perf_probe_event pev; member
193 cleanup_perf_probe_events(&priv->pev, 1); in clear_prog_priv()
279 prog_config__exec(const char *value, struct perf_probe_event *pev) in prog_config__exec() argument
281 pev->uprobes = true; in prog_config__exec()
282 pev->target = strdup(value); in prog_config__exec()
283 if (!pev->target) in prog_config__exec()
289 prog_config__module(const char *value, struct perf_probe_event *pev) in prog_config__module() argument
291 pev->uprobes = false; in prog_config__module()
292 pev->target = strdup(value); in prog_config__module()
293 if (!pev->target) in prog_config__module()
[all …]
Dprobe-file.c395 clear_perf_probe_event(&entry->pev); in probe_cache_entry__delete()
402 probe_cache_entry__new(struct perf_probe_event *pev) in probe_cache_entry__new() argument
411 else if (pev) { in probe_cache_entry__new()
412 entry->spev = synthesize_perf_probe_command(pev); in probe_cache_entry__new()
414 perf_probe_event__copy(&entry->pev, pev) < 0) { in probe_cache_entry__new()
544 &entry->pev); in probe_cache__load()
640 probe_cache__find(struct probe_cache *pcache, struct perf_probe_event *pev) in probe_cache__find() argument
643 char *cmd = synthesize_perf_probe_command(pev); in probe_cache__find()
649 if (pev->sdt) { in probe_cache__find()
650 if (entry->pev.event && in probe_cache__find()
[all …]
Dprobe-event.h133 int parse_perf_probe_command(const char *cmd, struct perf_probe_event *pev);
137 char *synthesize_perf_probe_command(struct perf_probe_event *pev);
145 bool perf_probe_with_var(struct perf_probe_event *pev);
148 bool perf_probe_event_need_dwarf(struct perf_probe_event *pev);
151 void clear_perf_probe_event(struct perf_probe_event *pev);
175 struct perf_probe_event *pev,
184 void arch__fix_tev_from_maps(struct perf_probe_event *pev,
199 void arch__post_process_probe_trace_events(struct perf_probe_event *pev,
Dprobe-finder.h45 struct perf_probe_event *pev,
60 struct perf_probe_event *pev,
68 struct perf_probe_event *pev; /* Target probe event */ member
Dprobe-file.h14 struct perf_probe_event pev; member
57 struct perf_probe_event *pev,
66 struct perf_probe_event *pev);
Dprobe-finder.c804 .function = pf->pev->point.function, in find_best_scope()
839 if (pf->pev->point.function) { in verify_representive_line()
843 && die_match_name(&die_mem, pf->pev->point.function) in verify_representive_line()
981 pf->pev->point.lazy_line); in find_probe_point_lazy()
992 struct perf_probe_point *pp = &pf->pev->point; in skip_prologue()
995 if (!pf->pev->uprobes) in skip_prologue()
1012 if (!perf_probe_with_var(pf->pev)) in skip_prologue()
1025 struct perf_probe_point *pp = &pf->pev->point; in probe_point_inline_cb()
1065 struct perf_probe_point *pp = &pf->pev->point; in probe_point_search_cb()
1161 struct perf_probe_point *pp = &pf->pev->point; in debuginfo__find_probe_location()
[all …]
Dparse-events.c2901 !strglobmatch(ent->pev.group, subsys_glob)) in print_sdt_events()
2904 !strglobmatch(ent->pev.event, event_glob)) in print_sdt_events()
2906 ret = asprintf(&buf, "%s:%s@%s", ent->pev.group, in print_sdt_events()
2907 ent->pev.event, nd->s); in print_sdt_events()
/linux-5.19.10/tools/perf/arch/powerpc/util/
Dsym-handling.c78 void arch__fix_tev_from_maps(struct perf_probe_event *pev, in arch__fix_tev_from_maps() argument
94 if (pev->point.offset || !map || !sym) in arch__fix_tev_from_maps()
98 if (!pev->uprobes && pev->point.retprobe) { in arch__fix_tev_from_maps()
110 if (pev->uprobes) in arch__fix_tev_from_maps()
118 void arch__post_process_probe_trace_events(struct perf_probe_event *pev, in arch__post_process_probe_trace_events() argument
127 map = get_target_map(pev->target, pev->nsi, pev->uprobes); in arch__post_process_probe_trace_events()
132 tev = &pev->tevs[i]; in arch__post_process_probe_trace_events()
135 arch__fix_tev_from_maps(pev, tev, map, sym); in arch__post_process_probe_trace_events()
/linux-5.19.10/arch/x86/kernel/
Dkgdb.c184 struct perf_event * __percpu *pev; member
208 bp = *per_cpu_ptr(breakinfo[breakno].pev, cpu); in kgdb_correct_hw_break()
237 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_reserve_slot()
249 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_reserve_slot()
264 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_release_slot()
304 bp = *per_cpu_ptr(breakinfo[i].pev, cpu); in kgdb_remove_all_hw_break()
397 bp = *per_cpu_ptr(breakinfo[i].pev, cpu); in kgdb_disable_hw_debug()
655 if (breakinfo[i].pev) in kgdb_arch_late()
657 breakinfo[i].pev = register_wide_hw_breakpoint(&attr, NULL, NULL); in kgdb_arch_late()
658 if (IS_ERR((void * __force)breakinfo[i].pev)) { in kgdb_arch_late()
[all …]
/linux-5.19.10/tools/perf/
Dbuiltin-probe.c56 struct perf_probe_event *pev = &params.events[params.nevents]; in parse_probe_event() local
65 pev->uprobes = params.uprobes; in parse_probe_event()
67 pev->target = strdup(params.target); in parse_probe_event()
68 if (!pev->target) in parse_probe_event()
73 pev->nsi = nsinfo__get(params.nsi); in parse_probe_event()
76 ret = parse_perf_probe_command(str, pev); in parse_probe_event()
77 pr_debug("%d arguments\n", pev->nargs); in parse_probe_event()
257 struct perf_probe_event *pev = &params.events[params.nevents]; in opt_show_vars() local
264 if (!ret && pev->nargs != 0) { in opt_show_vars()
367 struct perf_probe_event *pev = &pevs[i]; in perf_add_probe_events() local
[all …]
/linux-5.19.10/arch/mips/kernel/
Dperf_event_mipsxx.c700 static unsigned int mipspmu_perf_event_encode(const struct mips_perf_event *pev) in mipspmu_perf_event_encode() argument
708 return ((unsigned int)pev->range << 24) | in mipspmu_perf_event_encode()
709 (pev->cntr_mask & 0xffff00) | in mipspmu_perf_event_encode()
710 (pev->event_id & 0xff); in mipspmu_perf_event_encode()
715 return (pev->cntr_mask & 0xfffc00) | in mipspmu_perf_event_encode()
716 (pev->event_id & 0x3ff); in mipspmu_perf_event_encode()
718 return (pev->cntr_mask & 0xffff00) | in mipspmu_perf_event_encode()
719 (pev->event_id & 0xff); in mipspmu_perf_event_encode()
734 const struct mips_perf_event *pev; in mipspmu_map_cache_event() local
748 pev = &((*mipspmu.cache_event_map) in mipspmu_map_cache_event()
[all …]