Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/util/
Dprobe-event.c411 struct perf_probe_event *pev, in get_alternative_probe_event() argument
416 memcpy(tmp, &pev->point, sizeof(*tmp)); in get_alternative_probe_event()
417 memset(&pev->point, 0, sizeof(pev->point)); in get_alternative_probe_event()
418 ret = find_alternative_probe_point(dinfo, tmp, &pev->point, pev->target, in get_alternative_probe_event()
419 pev->nsi, pev->uprobes); in get_alternative_probe_event()
421 memcpy(&pev->point, tmp, sizeof(*tmp)); in get_alternative_probe_event()
794 arch__post_process_probe_trace_events(struct perf_probe_event *pev __maybe_unused, in arch__post_process_probe_trace_events()
800 static int post_process_probe_trace_events(struct perf_probe_event *pev, in post_process_probe_trace_events() argument
809 pev->nsi); in post_process_probe_trace_events()
818 arch__post_process_probe_trace_events(pev, ntevs); in post_process_probe_trace_events()
[all …]
Dbpf-loader.c47 struct perf_probe_event pev; member
136 cleanup_perf_probe_events(&priv->pev, 1); in clear_prog_priv()
145 prog_config__exec(const char *value, struct perf_probe_event *pev) in prog_config__exec() argument
147 pev->uprobes = true; in prog_config__exec()
148 pev->target = strdup(value); in prog_config__exec()
149 if (!pev->target) in prog_config__exec()
155 prog_config__module(const char *value, struct perf_probe_event *pev) in prog_config__module() argument
157 pev->uprobes = false; in prog_config__module()
158 pev->target = strdup(value); in prog_config__module()
159 if (!pev->target) in prog_config__module()
[all …]
Dprobe-file.c360 clear_perf_probe_event(&entry->pev); in probe_cache_entry__delete()
367 probe_cache_entry__new(struct perf_probe_event *pev) in probe_cache_entry__new() argument
376 else if (pev) { in probe_cache_entry__new()
377 entry->spev = synthesize_perf_probe_command(pev); in probe_cache_entry__new()
379 perf_probe_event__copy(&entry->pev, pev) < 0) { in probe_cache_entry__new()
509 &entry->pev); in probe_cache__load()
601 probe_cache__find(struct probe_cache *pcache, struct perf_probe_event *pev) in probe_cache__find() argument
604 char *cmd = synthesize_perf_probe_command(pev); in probe_cache__find()
610 if (pev->sdt) { in probe_cache__find()
611 if (entry->pev.event && in probe_cache__find()
[all …]
Dprobe-event.h125 int parse_perf_probe_command(const char *cmd, struct perf_probe_event *pev);
129 char *synthesize_perf_probe_command(struct perf_probe_event *pev);
137 bool perf_probe_with_var(struct perf_probe_event *pev);
140 bool perf_probe_event_need_dwarf(struct perf_probe_event *pev);
143 void clear_perf_probe_event(struct perf_probe_event *pev);
166 struct perf_probe_event *pev,
175 void arch__fix_tev_from_maps(struct perf_probe_event *pev,
190 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.c771 .function = pf->pev->point.function, in find_best_scope()
901 pf->pev->point.lazy_line); in find_probe_point_lazy()
912 struct perf_probe_point *pp = &pf->pev->point; in skip_prologue()
915 if (!pf->pev->uprobes) in skip_prologue()
932 if (!perf_probe_with_var(pf->pev)) in skip_prologue()
945 struct perf_probe_point *pp = &pf->pev->point; in probe_point_inline_cb()
985 struct perf_probe_point *pp = &pf->pev->point; in probe_point_search_cb()
1081 struct perf_probe_point *pp = &pf->pev->point; in debuginfo__find_probe_location()
1233 for (i = 0; i < pf->pev->nargs; i++) { in expand_probe_args()
1235 if (strcmp(pf->pev->args[i].var, PROBE_ARG_VARS) == 0) in expand_probe_args()
[all …]
Dparse-events.c2299 !strglobmatch(ent->pev.group, subsys_glob)) in print_sdt_events()
2302 !strglobmatch(ent->pev.event, event_glob)) in print_sdt_events()
2304 ret = asprintf(&buf, "%s:%s@%s", ent->pev.group, in print_sdt_events()
2305 ent->pev.event, nd->s); in print_sdt_events()
/Linux-v4.19/tools/perf/arch/powerpc/util/
Dsym-handling.c90 void arch__fix_tev_from_maps(struct perf_probe_event *pev, in arch__fix_tev_from_maps() argument
106 if (pev->point.offset || !map || !sym) in arch__fix_tev_from_maps()
110 if (!pev->uprobes && pev->point.retprobe) { in arch__fix_tev_from_maps()
122 if (pev->uprobes) in arch__fix_tev_from_maps()
130 void arch__post_process_probe_trace_events(struct perf_probe_event *pev, in arch__post_process_probe_trace_events() argument
139 map = get_target_map(pev->target, pev->nsi, pev->uprobes); in arch__post_process_probe_trace_events()
144 tev = &pev->tevs[i]; in arch__post_process_probe_trace_events()
147 arch__fix_tev_from_maps(pev, tev, map, sym); in arch__post_process_probe_trace_events()
/Linux-v4.19/arch/x86/kernel/
Dkgdb.c201 struct perf_event * __percpu *pev; member
225 bp = *per_cpu_ptr(breakinfo[breakno].pev, cpu); in kgdb_correct_hw_break()
254 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_reserve_slot()
266 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_reserve_slot()
281 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_release_slot()
321 bp = *per_cpu_ptr(breakinfo[i].pev, cpu); in kgdb_remove_all_hw_break()
414 bp = *per_cpu_ptr(breakinfo[i].pev, cpu); in kgdb_disable_hw_debug()
675 if (breakinfo[i].pev) in kgdb_arch_late()
677 breakinfo[i].pev = register_wide_hw_breakpoint(&attr, NULL, NULL); in kgdb_arch_late()
678 if (IS_ERR((void * __force)breakinfo[i].pev)) { in kgdb_arch_late()
[all …]
/Linux-v4.19/tools/perf/
Dbuiltin-probe.c67 struct perf_probe_event *pev = &params.events[params.nevents]; in parse_probe_event() local
76 pev->uprobes = params.uprobes; in parse_probe_event()
78 pev->target = strdup(params.target); in parse_probe_event()
79 if (!pev->target) in parse_probe_event()
84 pev->nsi = nsinfo__get(params.nsi); in parse_probe_event()
87 ret = parse_perf_probe_command(str, pev); in parse_probe_event()
88 pr_debug("%d arguments\n", pev->nargs); in parse_probe_event()
268 struct perf_probe_event *pev = &params.events[params.nevents]; in opt_show_vars() local
275 if (!ret && pev->nargs != 0) { in opt_show_vars()
375 struct perf_probe_event *pev = &pevs[i]; in perf_add_probe_events() local
[all …]
/Linux-v4.19/arch/mips/kernel/
Dperf_event_mipsxx.c675 static unsigned int mipspmu_perf_event_encode(const struct mips_perf_event *pev) in mipspmu_perf_event_encode() argument
683 return ((unsigned int)pev->range << 24) | in mipspmu_perf_event_encode()
684 (pev->cntr_mask & 0xffff00) | in mipspmu_perf_event_encode()
685 (pev->event_id & 0xff); in mipspmu_perf_event_encode()
688 return ((pev->cntr_mask & 0xffff00) | in mipspmu_perf_event_encode()
689 (pev->event_id & 0xff)); in mipspmu_perf_event_encode()
703 const struct mips_perf_event *pev; in mipspmu_map_cache_event() local
717 pev = &((*mipspmu.cache_event_map) in mipspmu_map_cache_event()
722 if (pev->cntr_mask == 0) in mipspmu_map_cache_event()
725 return pev; in mipspmu_map_cache_event()
[all …]