Home
last modified time | relevance | path

Searched refs:func_name (Results 1 – 6 of 6) sorted by relevance

/kernel/trace/
Dtrace_selftest.c362 char *func_name; in trace_selftest_startup_dynamic_tracing() local
380 func_name = "*" __stringify(DYN_FTRACE_TEST_NAME); in trace_selftest_startup_dynamic_tracing()
383 ftrace_set_global_filter(func_name, strlen(func_name), 1); in trace_selftest_startup_dynamic_tracing()
493 char *func_name; in trace_selftest_function_recursion() local
506 func_name = "*" __stringify(DYN_FTRACE_TEST_NAME); in trace_selftest_function_recursion()
507 len = strlen(func_name); in trace_selftest_function_recursion()
509 ret = ftrace_set_filter(&test_rec_probe, func_name, len, 1); in trace_selftest_function_recursion()
542 ret = ftrace_set_filter(&test_recsafe_probe, func_name, len, 1); in trace_selftest_function_recursion()
604 char *func_name; in trace_selftest_function_regs() local
622 func_name = "*" __stringify(DYN_FTRACE_TEST_NAME); in trace_selftest_function_regs()
[all …]
Dtrace_kprobe.c733 static unsigned int number_of_same_symbols(char *func_name) in number_of_same_symbols() argument
735 struct sym_count_ctx ctx = { .count = 0, .name = func_name }; in number_of_same_symbols()
737 kallsyms_on_each_match_symbol(count_symbols, func_name, &ctx.count); in number_of_same_symbols()
/kernel/events/
Dinternal.h161 #define DEFINE_OUTPUT_COPY(func_name, memcpy_func) \ argument
163 func_name(struct perf_output_handle *handle, \
/kernel/bpf/
Dbtf.c6261 const char *func_name, *ref_tname; in btf_check_func_arg_match() local
6275 func_name = btf_name_by_offset(btf, t->name_off); in btf_check_func_arg_match()
6279 bpf_log(log, "Invalid BTF of func %s\n", func_name); in btf_check_func_arg_match()
6285 bpf_log(log, "Function %s has %d > %d args\n", func_name, nargs, in btf_check_func_arg_match()
6424 func_name, i, btf_type_str(ref_t), ref_tname); in btf_check_func_arg_match()
6430 func_name, i, btf_type_str(ref_t), ref_tname); in btf_check_func_arg_match()
6453 func_name, i, btf_type_str(ref_t), in btf_check_func_arg_match()
6474 func_name, i, in btf_check_func_arg_match()
6560 is_kfunc ? "kernel " : "", func_name, func_id); in btf_check_func_arg_match()
6574 func_name); in btf_check_func_arg_match()
[all …]
Dcore.c560 const char *func_name; in bpf_prog_ksym_set_name() local
580 func_name = btf_name_by_offset(prog->aux->btf, type->name_off); in bpf_prog_ksym_set_name()
581 snprintf(sym, (size_t)(end - sym), "_%s", func_name); in bpf_prog_ksym_set_name()
Dverifier.c2037 const char *func_name; in add_kfunc_call() local
2116 func_name = btf_name_by_offset(desc_btf, func->name_off); in add_kfunc_call()
2117 addr = kallsyms_lookup_name(func_name); in add_kfunc_call()
2120 func_name); in add_kfunc_call()
2128 func_name); in add_kfunc_call()
2137 func_proto, func_name, in add_kfunc_call()
7952 const char *func_name, *ptr_type_name; in check_kfunc_call() local
7970 func_name = btf_name_by_offset(desc_btf, func->name_off); in check_kfunc_call()
7976 func_name); in check_kfunc_call()
7999 func_name, func_id); in check_kfunc_call()
[all …]