Home
last modified time | relevance | path

Searched refs:ksym_name (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/samples/hw_breakpoint/
Ddata_breakpoint.c26 static char ksym_name[KSYM_NAME_LEN] = "jiffies"; variable
27 module_param_string(ksym, ksym_name, KSYM_NAME_LEN, S_IRUGO);
35 printk(KERN_INFO "%s value is changed\n", ksym_name); in sample_hbp_handler()
44 void *addr = __symbol_get(ksym_name); in hw_break_module_init()
60 printk(KERN_INFO "HW Breakpoint for %s write installed\n", ksym_name); in hw_break_module_init()
74 __symbol_put(ksym_name); in hw_break_module_exit()
76 printk(KERN_INFO "HW Breakpoint for %s write uninstalled\n", ksym_name); in hw_break_module_exit()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dkprobe_multi_test.c471 char *name = NULL, *ksym_name, **syms = NULL; in get_syms() local
521 ksym_name = ks->name; in get_syms()
522 err = hashmap__add(map, ksym_name, 0); in get_syms()
535 syms[cnt++] = ksym_name; in get_syms()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c972 static int find_ksym_btf_id(struct bpf_object *obj, const char *ksym_name,
8150 static int find_ksym_btf_id(struct bpf_object *obj, const char *ksym_name, in find_ksym_btf_id() argument
8160 id = btf__find_by_name_kind(btf, ksym_name, kind); in find_ksym_btf_id()
8171 id = btf__find_by_name_kind_own(btf, ksym_name, kind); in find_ksym_btf_id()