Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 98) 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.c35 .func = NULL,
42 .func = test__vmlinux_matches_kallsyms,
46 .func = test__openat_syscall_event,
50 .func = test__openat_syscall_event_on_all_cpus,
54 .func = test__basic_mmap,
58 .func = test__mem,
62 .func = test__parse_events,
66 .func = test__expr,
70 .func = test__PERF_RECORD,
74 .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()
/tools/perf/arch/x86/tests/
Darch-tests.c9 .func = test__rdpmc,
14 .func = test__dwarf_unwind,
20 .func = test__insn_x86,
24 .func = test__intel_pt_pkt_decoder,
30 .func = test__bp_modify,
35 .func = test__x86_sample_parsing,
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
137 .macro STACK_FRAME_NON_STANDARD func:req
139 .long \func - .
158 #define STACK_FRAME_NON_STANDARD(func)
159 #define STACK_FRAME_NON_STANDARD_FP(func)
165 .macro STACK_FRAME_NON_STANDARD func:req
Dstatic_call_types.h37 #define DECLARE_STATIC_CALL(name, func) \ argument
39 extern typeof(func) STATIC_CALL_TRAMP(name);
62 void *func; member
77 void *func; member
95 void *func; member
99 ((typeof(STATIC_CALL_TRAMP(name))*)(STATIC_CALL_KEY(name).func))
/tools/arch/x86/kcpuid/
Dkcpuid.c138 struct cpuid_func *func; in cpuid_store() local
149 func = &range->funcs[f & 0xffff]; in cpuid_store()
151 if (!func->leafs) { in cpuid_store()
152 func->leafs = malloc(sizeof(struct subleaf)); in cpuid_store()
153 if (!func->leafs) in cpuid_store()
156 func->nr = 1; in cpuid_store()
158 s = func->nr; in cpuid_store()
159 func->leafs = realloc(func->leafs, (s + 1) * sizeof(*leaf)); in cpuid_store()
160 if (!func->leafs) in cpuid_store()
163 func->nr++; in cpuid_store()
[all …]
/tools/testing/selftests/bpf/prog_tests/
Dcore_read_macros.c8 void (*func)(struct callback_head *head); member
18 void (*func)(struct callback_head *head); member
38 bss->k_probe_in.func = (void *)(long)0x1234; in test_core_read_macros()
39 bss->k_core_in.func = (void *)(long)0xabcd; in test_core_read_macros()
42 u_probe_in.func = (void *)(long)0x5678; in test_core_read_macros()
46 u_core_in.func = (void *)(long)0xdbca; in test_core_read_macros()
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/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/objtool/include/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()
/tools/testing/selftests/bpf/progs/
Dtest_core_read_macros.c12 void (*func)(struct callback_head___shuffled *head); member
44 k_probe_out = (long)BPF_PROBE_READ(&k_probe_in, next, next, func); in handler()
45 k_core_out = (long)BPF_CORE_READ(&k_core_in, next, next, func); in handler()
46 u_probe_out = (long)BPF_PROBE_READ_USER(u_probe_in, next, next, func); in handler()
47 u_core_out = (long)BPF_CORE_READ_USER(u_core_in, next, next, func); in handler()
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/objtool/
Dcheck.c65 struct symbol *func = insn->func; in next_insn_same_func() local
67 if (!func) in next_insn_same_func()
70 if (&next->list != &file->insn_list && next->func == func) in next_insn_same_func()
74 if (func == func->cfunc) in next_insn_same_func()
78 return find_insn(file, func->cfunc->sec, func->cfunc->offset); in next_insn_same_func()
86 if (&prev->list != &file->insn_list && prev->func == insn->func) in prev_insn_same_sym()
92 #define func_for_each_insn(file, func, insn) \ argument
93 for (insn = find_insn(file, func->sec, func->offset); \
136 if (!insn->func) in is_sibling_call()
156 static bool __dead_end_function(struct objtool_file *file, struct symbol *func, in __dead_end_function() argument
[all …]
/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/testing/ktest/examples/bootconfigs/
Dboottrace.bconf12 fields = "unsigned long func", "u64 lat"
14 keys = func.sym,lat
20 keys = func;
24 keys = func
28 trace = initcall_latency, func, $lat
/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/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/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/selftests/rcutorture/formal/srcu-cbmc/src/
Dworkqueues.h24 work_func_t func; member
79 (w)->func = (f); \
87 .func = f \

1234