/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | probe-event.c | 245 static void clear_probe_trace_events(struct probe_trace_event *tevs, int ntevs) in clear_probe_trace_events() argument 250 clear_probe_trace_event(tevs + i); in clear_probe_trace_events() 730 post_process_offline_probe_trace_events(struct probe_trace_event *tevs, in post_process_offline_probe_trace_events() argument 745 ret = post_process_probe_trace_point(&tevs[i].point, in post_process_offline_probe_trace_events() 755 static int add_exec_to_probe_trace_events(struct probe_trace_event *tevs, in add_exec_to_probe_trace_events() argument 771 tevs[i].point.address -= stext; in add_exec_to_probe_trace_events() 772 tevs[i].point.module = strdup(exec); in add_exec_to_probe_trace_events() 773 if (!tevs[i].point.module) { in add_exec_to_probe_trace_events() 777 tevs[i].uprobes = true; in add_exec_to_probe_trace_events() 784 post_process_module_probe_trace_events(struct probe_trace_event *tevs, in post_process_module_probe_trace_events() argument 823 post_process_kernel_probe_trace_events(struct probe_trace_event *tevs, int ntevs) post_process_kernel_probe_trace_events() argument 884 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) post_process_probe_trace_events() argument 908 try_to_find_probe_trace_events(struct perf_probe_event *pev, struct probe_trace_event **tevs) try_to_find_probe_trace_events() argument 2899 __add_probe_trace_events(struct perf_probe_event *pev, struct probe_trace_event *tevs, int ntevs, bool allow_suffix) __add_probe_trace_events() argument 3033 find_probe_trace_events_from_map(struct perf_probe_event *pev, struct probe_trace_event **tevs) find_probe_trace_events_from_map() argument 3209 try_to_find_absolute_address(struct perf_probe_event *pev, struct probe_trace_event **tevs) try_to_find_absolute_address() argument 3312 concat_probe_trace_events(struct probe_trace_event **tevs, int *ntevs, struct probe_trace_event **tevs2, int ntevs2) concat_probe_trace_events() argument 3350 find_cached_events(struct perf_probe_event *pev, struct probe_trace_event **tevs, const char *target) find_cached_events() argument 3393 find_cached_events_all(struct perf_probe_event *pev, struct probe_trace_event **tevs) find_cached_events_all() argument 3434 find_probe_trace_events_from_cache(struct perf_probe_event *pev, struct probe_trace_event **tevs) find_probe_trace_events_from_cache() argument 3491 convert_to_probe_trace_events(struct perf_probe_event *pev, struct probe_trace_event **tevs) convert_to_probe_trace_events() argument [all...] |
H A D | probe-finder.h | 46 struct probe_trace_event **tevs); 99 struct probe_trace_event *tevs; /* Found trace events */ member
|
H A D | probe-file.h | 53 struct probe_trace_event **tevs); 58 struct probe_trace_event *tevs, int ntevs);
|
H A D | probe-file.c | 425 struct probe_trace_event **tevs) in probe_cache_entry__get_event() 435 *tevs = zalloc(ret * sizeof(*tev)); in probe_cache_entry__get_event() 436 if (!*tevs) in probe_cache_entry__get_event() 441 tev = &(*tevs)[i++]; in probe_cache_entry__get_event() 692 struct probe_trace_event *tevs, int ntevs) in probe_cache__add_entry() 698 if (!pcache || !pev || !tevs || ntevs <= 0) { in probe_cache__add_entry() 716 if (!tevs[i].point.symbol) in probe_cache__add_entry() 719 command = synthesize_probe_trace_command(&tevs[i]); in probe_cache__add_entry() 424 probe_cache_entry__get_event(struct probe_cache_entry *entry, struct probe_trace_event **tevs) probe_cache_entry__get_event() argument 690 probe_cache__add_entry(struct probe_cache *pcache, struct perf_probe_event *pev, struct probe_trace_event *tevs, int ntevs) probe_cache__add_entry() argument
|
H A D | probe-finder.c | 1352 if (tf->pf.addr == tf->tevs[i].point.address) in trace_event_finder_overlap() 1376 /* Check number of tevs */ in add_probe_trace_event() 1382 tev = &tf->tevs[tf->ntevs++]; in add_probe_trace_event() 1437 struct probe_trace_event *tevs, int ntevs) in fill_empty_trace_arg() 1449 if (tevs[j].args[i].value) { in fill_empty_trace_arg() 1450 type = tevs[j].args[i].type; in fill_empty_trace_arg() 1459 valp = &tevs[j].args[i].value; in fill_empty_trace_arg() 1468 tevs[j].args[i].type = strdup(type); in fill_empty_trace_arg() 1469 if (!tevs[j].args[i].type) in fill_empty_trace_arg() 1480 struct probe_trace_event **tevs) in debuginfo__find_trace_events() 1436 fill_empty_trace_arg(struct perf_probe_event *pev, struct probe_trace_event *tevs, int ntevs) fill_empty_trace_arg() argument 1478 debuginfo__find_trace_events(struct debuginfo *dbg, struct perf_probe_event *pev, struct probe_trace_event **tevs) debuginfo__find_trace_events() argument [all...] |
H A D | probe-event.h | 103 struct probe_trace_event *tevs; member
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | probe-event.c | 235 static void clear_probe_trace_events(struct probe_trace_event *tevs, int ntevs) in clear_probe_trace_events() argument 240 clear_probe_trace_event(tevs + i); in clear_probe_trace_events() 716 post_process_offline_probe_trace_events(struct probe_trace_event *tevs, in post_process_offline_probe_trace_events() argument 731 ret = post_process_probe_trace_point(&tevs[i].point, in post_process_offline_probe_trace_events() 741 static int add_exec_to_probe_trace_events(struct probe_trace_event *tevs, in add_exec_to_probe_trace_events() argument 757 tevs[i].point.address -= stext; in add_exec_to_probe_trace_events() 758 tevs[i].point.module = strdup(exec); in add_exec_to_probe_trace_events() 759 if (!tevs[i].point.module) { in add_exec_to_probe_trace_events() 763 tevs[i].uprobes = true; in add_exec_to_probe_trace_events() 770 post_process_module_probe_trace_events(struct probe_trace_event *tevs, in post_process_module_probe_trace_events() argument 809 post_process_kernel_probe_trace_events(struct probe_trace_event *tevs, int ntevs) post_process_kernel_probe_trace_events() argument 867 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) post_process_probe_trace_events() argument 891 try_to_find_probe_trace_events(struct perf_probe_event *pev, struct probe_trace_event **tevs) try_to_find_probe_trace_events() argument 2851 __add_probe_trace_events(struct perf_probe_event *pev, struct probe_trace_event *tevs, int ntevs, bool allow_suffix) __add_probe_trace_events() argument 2974 find_probe_trace_events_from_map(struct perf_probe_event *pev, struct probe_trace_event **tevs) find_probe_trace_events_from_map() argument 3139 try_to_find_absolute_address(struct perf_probe_event *pev, struct probe_trace_event **tevs) try_to_find_absolute_address() argument 3242 concat_probe_trace_events(struct probe_trace_event **tevs, int *ntevs, struct probe_trace_event **tevs2, int ntevs2) concat_probe_trace_events() argument 3280 find_cached_events(struct perf_probe_event *pev, struct probe_trace_event **tevs, const char *target) find_cached_events() argument 3323 find_cached_events_all(struct perf_probe_event *pev, struct probe_trace_event **tevs) find_cached_events_all() argument 3364 find_probe_trace_events_from_cache(struct perf_probe_event *pev, struct probe_trace_event **tevs) find_probe_trace_events_from_cache() argument 3421 convert_to_probe_trace_events(struct perf_probe_event *pev, struct probe_trace_event **tevs) convert_to_probe_trace_events() argument [all...] |
H A D | probe-finder.h | 46 struct probe_trace_event **tevs); 99 struct probe_trace_event *tevs; /* Found trace events */ member
|
H A D | probe-file.h | 53 struct probe_trace_event **tevs); 58 struct probe_trace_event *tevs, int ntevs);
|
H A D | probe-file.c | 390 struct probe_trace_event **tevs) in probe_cache_entry__get_event() 400 *tevs = zalloc(ret * sizeof(*tev)); in probe_cache_entry__get_event() 401 if (!*tevs) in probe_cache_entry__get_event() 406 tev = &(*tevs)[i++]; in probe_cache_entry__get_event() 657 struct probe_trace_event *tevs, int ntevs) in probe_cache__add_entry() 663 if (!pcache || !pev || !tevs || ntevs <= 0) { in probe_cache__add_entry() 681 if (!tevs[i].point.symbol) in probe_cache__add_entry() 684 command = synthesize_probe_trace_command(&tevs[i]); in probe_cache__add_entry() 389 probe_cache_entry__get_event(struct probe_cache_entry *entry, struct probe_trace_event **tevs) probe_cache_entry__get_event() argument 655 probe_cache__add_entry(struct probe_cache *pcache, struct perf_probe_event *pev, struct probe_trace_event *tevs, int ntevs) probe_cache__add_entry() argument
|
H A D | probe-finder.c | 1336 if (tf->pf.addr == tf->tevs[i].point.address) in trace_event_finder_overlap() 1360 /* Check number of tevs */ in add_probe_trace_event() 1366 tev = &tf->tevs[tf->ntevs++]; in add_probe_trace_event() 1421 struct probe_trace_event *tevs, int ntevs) in fill_empty_trace_arg() 1433 if (tevs[j].args[i].value) { in fill_empty_trace_arg() 1434 type = tevs[j].args[i].type; in fill_empty_trace_arg() 1443 valp = &tevs[j].args[i].value; in fill_empty_trace_arg() 1452 tevs[j].args[i].type = strdup(type); in fill_empty_trace_arg() 1453 if (!tevs[j].args[i].type) in fill_empty_trace_arg() 1464 struct probe_trace_event **tevs) in debuginfo__find_trace_events() 1420 fill_empty_trace_arg(struct perf_probe_event *pev, struct probe_trace_event *tevs, int ntevs) fill_empty_trace_arg() argument 1462 debuginfo__find_trace_events(struct debuginfo *dbg, struct perf_probe_event *pev, struct probe_trace_event **tevs) debuginfo__find_trace_events() argument [all...] |
H A D | bpf-loader.c | 443 tev = &pev->tevs[i]; in preproc_gen_prologue() 518 * Assign a type number to each tevs in a pev. 519 * mapping is an array with same slots as tevs in that pev. 538 ptevs[i] = &pev->tevs[i]; in map_prologue() 546 n = ptevs[i] - pev->tevs; in map_prologue() 585 struct probe_trace_event *tev = &pev->tevs[i]; in hook_load_preprocessor() 594 * Since all tevs don't have argument, we don't need generate in hook_load_preprocessor() 700 struct probe_trace_event *tev = &priv->pev.tevs[i]; in bpf__unprobe() 771 tev = &pev->tevs[i]; in bpf__foreach_event()
|
H A D | probe-event.h | 102 struct probe_trace_event *tevs; member
|
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/ |
H A D | sym-handling.c | 132 tev = &pev->tevs[i]; in arch__post_process_probe_trace_events()
|
/kernel/linux/linux-6.6/tools/perf/arch/powerpc/util/ |
H A D | sym-handling.c | 132 tev = &pev->tevs[i]; in arch__post_process_probe_trace_events()
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-probe.c | 366 struct probe_trace_event *tev = &pev->tevs[k]; in perf_add_probe_events()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-probe.c | 378 struct probe_trace_event *tev = &pev->tevs[k]; in perf_add_probe_events()
|