/kernel/linux/linux-5.10/tools/perf/util/ |
D | probe-event.c | 422 struct perf_probe_event *pev, in get_alternative_probe_event() argument 427 memcpy(tmp, &pev->point, sizeof(*tmp)); in get_alternative_probe_event() 428 memset(&pev->point, 0, sizeof(pev->point)); in get_alternative_probe_event() 429 ret = find_alternative_probe_point(dinfo, tmp, &pev->point, pev->target, in get_alternative_probe_event() 430 pev->nsi, pev->uprobes); in get_alternative_probe_event() 432 memcpy(&pev->point, tmp, sizeof(*tmp)); in get_alternative_probe_event() 861 arch__post_process_probe_trace_events(struct perf_probe_event *pev __maybe_unused, in arch__post_process_probe_trace_events() 867 static int post_process_probe_trace_events(struct perf_probe_event *pev, in post_process_probe_trace_events() argument 876 pev->nsi); in post_process_probe_trace_events() 885 arch__post_process_probe_trace_events(pev, ntevs); in post_process_probe_trace_events() [all …]
|
D | bpf-loader.c | 42 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 …]
|
D | probe-file.c | 360 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() 605 probe_cache__find(struct probe_cache *pcache, struct perf_probe_event *pev) in probe_cache__find() argument 608 char *cmd = synthesize_perf_probe_command(pev); in probe_cache__find() 614 if (pev->sdt) { in probe_cache__find() 615 if (entry->pev.event && in probe_cache__find() [all …]
|
D | probe-event.h | 132 int parse_perf_probe_command(const char *cmd, struct perf_probe_event *pev); 136 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); 173 struct perf_probe_event *pev, 182 void arch__fix_tev_from_maps(struct perf_probe_event *pev, 197 void arch__post_process_probe_trace_events(struct perf_probe_event *pev,
|
D | probe-finder.h | 45 struct perf_probe_event *pev, 60 struct perf_probe_event *pev, 68 struct perf_probe_event *pev; /* Target probe event */ member
|
D | probe-file.h | 14 struct perf_probe_event pev; member 57 struct perf_probe_event *pev, 66 struct perf_probe_event *pev);
|
D | probe-finder.c | 799 .function = pf->pev->point.function, in find_best_scope() 834 if (pf->pev->point.function) { in verify_representive_line() 838 && die_match_name(&die_mem, pf->pev->point.function) in verify_representive_line() 976 pf->pev->point.lazy_line); in find_probe_point_lazy() 987 struct perf_probe_point *pp = &pf->pev->point; in skip_prologue() 990 if (!pf->pev->uprobes) in skip_prologue() 1007 if (!perf_probe_with_var(pf->pev)) in skip_prologue() 1020 struct perf_probe_point *pp = &pf->pev->point; in probe_point_inline_cb() 1060 struct perf_probe_point *pp = &pf->pev->point; in probe_point_search_cb() 1156 struct perf_probe_point *pp = &pf->pev->point; in debuginfo__find_probe_location() [all …]
|
D | parse-events.c | 2653 !strglobmatch(ent->pev.group, subsys_glob)) in print_sdt_events() 2656 !strglobmatch(ent->pev.event, event_glob)) in print_sdt_events() 2658 ret = asprintf(&buf, "%s:%s@%s", ent->pev.group, in print_sdt_events() 2659 ent->pev.event, nd->s); in print_sdt_events()
|
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/ |
D | sym-handling.c | 78 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()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | kgdb.c | 184 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 …]
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-probe.c | 55 struct perf_probe_event *pev = ¶ms.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 = ¶ms.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 …]
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 700 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 …]
|