Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 87) sorted by relevance

1234

/tools/bpf/bpftool/
Dcfg.c48 #define func_prev(func) list_prev_entry(func, l) argument
49 #define func_next(func) list_next_entry(func, l) argument
52 #define entry_bb(func) func_first_bb(func) argument
53 #define exit_bb(func) func_last_bb(func) argument
58 #define func_first_bb(func) \ argument
59 list_first_entry(&func->bbs, struct bb_node, l)
60 #define func_last_bb(func) \ argument
61 list_last_entry(&func->bbs, struct bb_node, l)
65 struct func_node *new_func, *func; in cfg_append_func() local
67 list_for_each_entry(func, &cfg->funcs, l) { in cfg_append_func()
[all …]
/tools/perf/tests/
Dbuiltin-test.c34 .func = NULL,
41 .func = test__vmlinux_matches_kallsyms,
45 .func = test__openat_syscall_event,
49 .func = test__openat_syscall_event_on_all_cpus,
53 .func = test__basic_mmap,
57 .func = test__mem,
61 .func = test__parse_events,
65 .func = test__expr,
69 .func = test__PERF_RECORD,
73 .func = test__pmu,
[all …]
Dclang.c7 int (*func)(void); member
12 .func = test__clang_to_IR,
16 .func = test__clang_to_obj,
44 return clang_testcase_table[i].func(); in test__clang()
Dpfm.c20 int (*func)(void); member
25 .func = test__pfm_events,
29 .func = test__pfm_group,
199 return pfm_testcase_table[i].func(); in test__pfm()
/tools/perf/arch/x86/tests/
Darch-tests.c9 .func = test__rdpmc,
13 .func = test__perf_time_to_tsc,
18 .func = test__dwarf_unwind,
24 .func = test__insn_x86,
28 .func = test__intel_pt_pkt_decoder,
34 .func = test__bp_modify,
38 .func = NULL,
/tools/include/linux/
Dobjtool.h70 #define STACK_FRAME_NON_STANDARD(func) \ argument
72 *__func_stack_frame_non_standard_##func = func
80 #define STACK_FRAME_NON_STANDARD_FP(func) STACK_FRAME_NON_STANDARD(func) argument
82 #define STACK_FRAME_NON_STANDARD_FP(func) argument
152 #define STACK_FRAME_NON_STANDARD(func)
153 #define STACK_FRAME_NON_STANDARD_FP(func)
Dstatic_call_types.h37 #define DECLARE_STATIC_CALL(name, func) \ argument
39 extern typeof(func) STATIC_CALL_TRAMP(name);
81 ((typeof(STATIC_CALL_TRAMP(name))*)(STATIC_CALL_KEY(name).func))
/tools/objtool/
Dwarn.h20 struct symbol *func; in offstr() local
24 func = find_func_containing(sec, offset); in offstr()
25 if (func) { in offstr()
26 name = func->name; in offstr()
27 name_off = offset - func->offset; in offstr()
35 if (func) in offstr()
Dcheck.c64 struct symbol *func = insn->func; in next_insn_same_func() local
66 if (!func) in next_insn_same_func()
69 if (&next->list != &file->insn_list && next->func == func) in next_insn_same_func()
73 if (func == func->cfunc) in next_insn_same_func()
77 return find_insn(file, func->cfunc->sec, func->cfunc->offset); in next_insn_same_func()
85 if (&prev->list != &file->insn_list && prev->func == insn->func) in prev_insn_same_sym()
91 #define func_for_each_insn(file, func, insn) \ argument
92 for (insn = find_insn(file, func->sec, func->offset); \
135 if (!insn->func) in is_sibling_call()
155 static bool __dead_end_function(struct objtool_file *file, struct symbol *func, in __dead_end_function() argument
[all …]
/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_traceonoff_triggers.tc52 func="schedule"
59 func=".schedule"
64 echo "$func:traceoff" > set_ftrace_filter
108 echo "!$func:traceoff" >> set_ftrace_filter
120 echo "$func:traceon" > set_ftrace_filter
138 echo "!$func:traceon" >> set_ftrace_filter
156 echo "$func:traceoff:3" > set_ftrace_filter
164 echo "!$func:traceoff:0" > set_ftrace_filter
/tools/power/cpupower/utils/helpers/
Dpci.c27 int slot, int func, int vendor, int dev) in pci_acc_init() argument
40 filter_nb_link.func = func; in pci_acc_init()
58 int func) in pci_slot_func_init() argument
60 return pci_acc_init(pacc, 0, 0, slot, func, -1, -1); in pci_slot_func_init()
/tools/perf/arch/arm/tests/
Darch-tests.c10 .func = test__dwarf_unwind,
15 .func = test__vectors_page,
18 .func = NULL,
/tools/lib/api/
Ddebug-internal.h7 #define __pr(func, fmt, ...) \ argument
9 if ((func)) \
10 (func)("libapi: " fmt, ##__VA_ARGS__); \
/tools/lib/traceevent/plugins/
Dplugin_function.c120 const char *func, unsigned long long function) in show_function() argument
124 trace_seq_printf(s, "%s", func); in show_function()
137 const char *func; in function_handler() local
144 func = tep_find_function(tep, function); in function_handler()
152 index = add_and_get_index(parent, func, record->cpu); in function_handler()
156 if (func) in function_handler()
157 show_function(s, tep, func, function); in function_handler()
178 const char *func; in trace_stack_handler() local
200 func = tep_find_function(event->tep, addr); in trace_stack_handler()
201 if (func) in trace_stack_handler()
[all …]
Dplugin_kmem.c18 const char *func; in call_site_handler() local
27 func = tep_find_function(event->tep, val); in call_site_handler()
28 if (!func) in call_site_handler()
33 trace_seq_printf(s, "(%s+0x%x) ", func, (int)(val - addr)); in call_site_handler()
/tools/testing/selftests/bpf/prog_tests/
Dresolve_btfids.c44 BTF_ID(func, func)
54 BTF_ID(func, func) in BTF_ID_LIST_GLOBAL()
62 BTF_ID(func, func) in BTF_ID_LIST_GLOBAL()
/tools/perf/arch/arm64/tests/
Darch-tests.c10 .func = test__dwarf_unwind,
14 .func = NULL,
/tools/perf/arch/powerpc/tests/
Darch-tests.c10 .func = test__dwarf_unwind,
14 .func = NULL,
/tools/testing/selftests/bpf/progs/
Dkfree_skb.c21 void (*func)(struct callback_head *head); member
65 void *func; in BPF_PROG() local
79 func = ptr->func; in BPF_PROG()
94 bpf_printk("rcuhead.next %llx func %llx\n", ptr, func); in BPF_PROG()
/tools/testing/selftests/cgroup/
Dwith_stress.sh67 func=stress_$OPTARG
68 if [ "x$(type -t $func)" != "xfunction" ] ; then
72 stresses+=($func)
/tools/testing/selftests/timens/
Dlog.h10 #define pr_p(func, fmt, ...) func(fmt ": %m", ##__VA_ARGS__) argument
/tools/testing/radix-tree/linux/
Dradix-tree.h11 void (*func)(struct rcu_head *head)) in trace_call_rcu()
16 call_rcu(head, func); in trace_call_rcu()
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dworkqueues.h24 work_func_t func; member
79 (w)->func = (f); \
87 .func = f \
/tools/bpf/bpftool/Documentation/
Dbpftool-perf.rst52 pid 21711 fd 5: prog_id 5 kprobe func __x64_sys_write offset 0
53 pid 21765 fd 5: prog_id 7 kretprobe func __x64_sys_nanosleep offset 0
62 [{"pid":21711,"fd":5,"prog_id":5,"fd_type":"kprobe","func":"__x64_sys_write","offset":0}, \
63 … {"pid":21765,"fd":5,"prog_id":7,"fd_type":"kretprobe","func":"__x64_sys_nanosleep","offset":0}, \
/tools/testing/selftests/kvm/x86_64/
Dcr4_cpuid_sync_test.c28 int func, subfunc; in cr4_cpuid_is_sync() local
32 func = 0x1; in cr4_cpuid_is_sync()
36 : "a"(func), "c"(subfunc)); in cr4_cpuid_is_sync()

1234