Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/tools/lib/bpf/
Dlibbpf.c7587 static int find_ksym_btf_id(struct bpf_object *obj, const char *ksym_name, in find_ksym_btf_id() argument
7597 id = btf__find_by_name_kind(btf, ksym_name, kind); in find_ksym_btf_id()
7608 id = btf__find_by_name_kind_own(btf, ksym_name, kind); in find_ksym_btf_id()