Home
last modified time | relevance | path

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

/Linux-v5.4/tools/perf/util/
Dprobe-event.c404 struct perf_probe_event *pev, in get_alternative_probe_event() argument
409 memcpy(tmp, &pev->point, sizeof(*tmp)); in get_alternative_probe_event()
410 memset(&pev->point, 0, sizeof(pev->point)); in get_alternative_probe_event()
411 ret = find_alternative_probe_point(dinfo, tmp, &pev->point, pev->target, in get_alternative_probe_event()
412 pev->nsi, pev->uprobes); in get_alternative_probe_event()
414 memcpy(&pev->point, tmp, sizeof(*tmp)); in get_alternative_probe_event()
790 arch__post_process_probe_trace_events(struct perf_probe_event *pev __maybe_unused, in arch__post_process_probe_trace_events()
796 static int post_process_probe_trace_events(struct perf_probe_event *pev, in post_process_probe_trace_events() argument
805 pev->nsi); in post_process_probe_trace_events()
814 arch__post_process_probe_trace_events(pev, ntevs); in post_process_probe_trace_events()
[all …]
Dbpf-loader.c42 struct perf_probe_event pev; member
127 cleanup_perf_probe_events(&priv->pev, 1); in clear_prog_priv()
136 prog_config__exec(const char *value, struct perf_probe_event *pev) in prog_config__exec() argument
138 pev->uprobes = true; in prog_config__exec()
139 pev->target = strdup(value); in prog_config__exec()
140 if (!pev->target) in prog_config__exec()
146 prog_config__module(const char *value, struct perf_probe_event *pev) in prog_config__module() argument
148 pev->uprobes = false; in prog_config__module()
149 pev->target = strdup(value); in prog_config__module()
150 if (!pev->target) in prog_config__module()
[all …]
Dprobe-file.c352 clear_perf_probe_event(&entry->pev); in probe_cache_entry__delete()
359 probe_cache_entry__new(struct perf_probe_event *pev) in probe_cache_entry__new() argument
368 else if (pev) { in probe_cache_entry__new()
369 entry->spev = synthesize_perf_probe_command(pev); in probe_cache_entry__new()
371 perf_probe_event__copy(&entry->pev, pev) < 0) { in probe_cache_entry__new()
501 &entry->pev); in probe_cache__load()
593 probe_cache__find(struct probe_cache *pcache, struct perf_probe_event *pev) in probe_cache__find() argument
596 char *cmd = synthesize_perf_probe_command(pev); in probe_cache__find()
602 if (pev->sdt) { in probe_cache__find()
603 if (entry->pev.event && in probe_cache__find()
[all …]
Dprobe-event.h129 int parse_perf_probe_command(const char *cmd, struct perf_probe_event *pev);
133 char *synthesize_perf_probe_command(struct perf_probe_event *pev);
141 bool perf_probe_with_var(struct perf_probe_event *pev);
144 bool perf_probe_event_need_dwarf(struct perf_probe_event *pev);
147 void clear_perf_probe_event(struct perf_probe_event *pev);
170 struct perf_probe_event *pev,
179 void arch__fix_tev_from_maps(struct perf_probe_event *pev,
194 void arch__post_process_probe_trace_events(struct perf_probe_event *pev,
Dprobe-finder.h43 struct perf_probe_event *pev,
58 struct perf_probe_event *pev,
66 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.c763 .function = pf->pev->point.function, in find_best_scope()
893 pf->pev->point.lazy_line); in find_probe_point_lazy()
904 struct perf_probe_point *pp = &pf->pev->point; in skip_prologue()
907 if (!pf->pev->uprobes) in skip_prologue()
924 if (!perf_probe_with_var(pf->pev)) in skip_prologue()
937 struct perf_probe_point *pp = &pf->pev->point; in probe_point_inline_cb()
977 struct perf_probe_point *pp = &pf->pev->point; in probe_point_search_cb()
1073 struct perf_probe_point *pp = &pf->pev->point; in debuginfo__find_probe_location()
1225 for (i = 0; i < pf->pev->nargs; i++) { in expand_probe_args()
1227 if (strcmp(pf->pev->args[i].var, PROBE_ARG_VARS) == 0) in expand_probe_args()
[all …]
Dparse-events.c2384 !strglobmatch(ent->pev.group, subsys_glob)) in print_sdt_events()
2387 !strglobmatch(ent->pev.event, event_glob)) in print_sdt_events()
2389 ret = asprintf(&buf, "%s:%s@%s", ent->pev.group, in print_sdt_events()
2390 ent->pev.event, nd->s); in print_sdt_events()
/Linux-v5.4/tools/perf/arch/powerpc/util/
Dsym-handling.c88 void arch__fix_tev_from_maps(struct perf_probe_event *pev, in arch__fix_tev_from_maps() argument
104 if (pev->point.offset || !map || !sym) in arch__fix_tev_from_maps()
108 if (!pev->uprobes && pev->point.retprobe) { in arch__fix_tev_from_maps()
120 if (pev->uprobes) in arch__fix_tev_from_maps()
128 void arch__post_process_probe_trace_events(struct perf_probe_event *pev, in arch__post_process_probe_trace_events() argument
137 map = get_target_map(pev->target, pev->nsi, pev->uprobes); in arch__post_process_probe_trace_events()
142 tev = &pev->tevs[i]; in arch__post_process_probe_trace_events()
145 arch__fix_tev_from_maps(pev, tev, map, sym); in arch__post_process_probe_trace_events()
/Linux-v5.4/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()
654 if (breakinfo[i].pev) in kgdb_arch_late()
656 breakinfo[i].pev = register_wide_hw_breakpoint(&attr, NULL, NULL); in kgdb_arch_late()
657 if (IS_ERR((void * __force)breakinfo[i].pev)) { in kgdb_arch_late()
[all …]
/Linux-v5.4/tools/perf/
Dbuiltin-probe.c55 struct perf_probe_event *pev = &params.events[params.nevents]; in parse_probe_event() local
64 pev->uprobes = params.uprobes; in parse_probe_event()
66 pev->target = strdup(params.target); in parse_probe_event()
67 if (!pev->target) in parse_probe_event()
72 pev->nsi = nsinfo__get(params.nsi); in parse_probe_event()
75 ret = parse_perf_probe_command(str, pev); in parse_probe_event()
76 pr_debug("%d arguments\n", pev->nargs); in parse_probe_event()
256 struct perf_probe_event *pev = &params.events[params.nevents]; in opt_show_vars() local
263 if (!ret && pev->nargs != 0) { in opt_show_vars()
363 struct perf_probe_event *pev = &pevs[i]; in perf_add_probe_events() local
[all …]
/Linux-v5.4/arch/mips/kernel/
Dperf_event_mipsxx.c657 static unsigned int mipspmu_perf_event_encode(const struct mips_perf_event *pev) in mipspmu_perf_event_encode() argument
665 return ((unsigned int)pev->range << 24) | in mipspmu_perf_event_encode()
666 (pev->cntr_mask & 0xffff00) | in mipspmu_perf_event_encode()
667 (pev->event_id & 0xff); in mipspmu_perf_event_encode()
670 return ((pev->cntr_mask & 0xffff00) | in mipspmu_perf_event_encode()
671 (pev->event_id & 0xff)); in mipspmu_perf_event_encode()
685 const struct mips_perf_event *pev; in mipspmu_map_cache_event() local
699 pev = &((*mipspmu.cache_event_map) in mipspmu_map_cache_event()
704 if (pev->cntr_mask == 0) in mipspmu_map_cache_event()
707 return pev; in mipspmu_map_cache_event()
[all …]