Home
last modified time | relevance | path

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

/linux-6.1.9/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()
73 symbol_put(ksym_name); in hw_break_module_exit()
74 printk(KERN_INFO "HW Breakpoint for %s write uninstalled\n", ksym_name); in hw_break_module_exit()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.c7377 static int find_ksym_btf_id(struct bpf_object *obj, const char *ksym_name, in find_ksym_btf_id() argument
7387 id = btf__find_by_name_kind(btf, ksym_name, kind); in find_ksym_btf_id()
7398 id = btf__find_by_name_kind_own(btf, ksym_name, kind); in find_ksym_btf_id()