Searched refs:tp_mod (Results 1 – 2 of 2) sorted by relevance
/linux/kernel/ |
H A D | tracepoint.c | 544 struct tp_module *tp_mod; in register_tracepoint_module_notifier() local 551 list_for_each_entry(tp_mod, &tracepoint_module_list, list) in register_tracepoint_module_notifier() local 552 (void) nb->notifier_call(nb, MODULE_STATE_COMING, tp_mod); in register_tracepoint_module_notifier() 568 struct tp_module *tp_mod; in unregister_tracepoint_module_notifier() local 575 list_for_each_entry(tp_mod, &tracepoint_module_list, list) in unregister_tracepoint_module_notifier() local 576 (void) nb->notifier_call(nb, MODULE_STATE_GOING, tp_mod); in unregister_tracepoint_module_notifier() 595 struct tp_module *tp_mod; in tracepoint_module_coming() local 608 tp_mod = kmalloc(sizeof(struct tp_module), GFP_KERNEL); in tracepoint_module_coming() 609 if (!tp_mod) in tracepoint_module_coming() 611 tp_mod->mod = mod; in tracepoint_module_coming() [all …]
|
/linux/kernel/trace/ |
H A D | trace_fprobe.c | 949 struct module **tp_mod) in find_tracepoint() argument 960 *tp_mod = data.mod; in find_tracepoint() 991 struct tp_module *tp_mod = data; in __tracepoint_probe_module_cb() local 1002 tpoint = find_tracepoint_in_module(tp_mod->mod, tf->symbol); in __tracepoint_probe_module_cb() 1005 tf->mod = tp_mod->mod; in __tracepoint_probe_module_cb() 1010 } else if (val == MODULE_STATE_GOING && tp_mod->mod == tf->mod) { in __tracepoint_probe_module_cb() 1124 struct module *tp_mod __free(module_put) = NULL; in DEFINE_FREE() 1178 tpoint = find_tracepoint(symbol, &tp_mod); in DEFINE_FREE() 1212 tf = alloc_trace_fprobe(group, event, symbol, tpoint, tp_mod, in DEFINE_FREE()
|