History

tracing: trace_fprobe: fix typo in function name

The function name should be __register_tracepoint_fprobe. Link: https://lore.kernel.org/all/20260507081041.885781-5-martin@kaiser.cx/

Martin Kaiser committed 4 months ago

Commit b6c4dd01 parent 4a50a141 file · +2 −2Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/trace/trace_fprobe.c+2−2
@@ -764,7 +764,7 @@ static int unregister_fprobe_event(struct trace_fprobe *tf) · 763 unmodified lines
764 return trace_probe_unregister_event_call(&tf->tp);764 return trace_probe_unregister_event_call(&tf->tp);
765}765}
766 766
767static int __regsiter_tracepoint_fprobe(struct trace_fprobe *tf)767static int __register_tracepoint_fprobe(struct trace_fprobe *tf)
768{768{
769 struct tracepoint_user *tuser __free(tuser_put) = NULL;769 struct tracepoint_user *tuser __free(tuser_put) = NULL;
770 struct module *mod __free(module_put) = NULL;770 struct module *mod __free(module_put) = NULL;
@@ -836,7 +836,7 @@ static int __register_trace_fprobe(struct trace_fprobe *tf) · 65 unmodified lines
836 tf->fp.flags &= ~FPROBE_FL_DISABLED;836 tf->fp.flags &= ~FPROBE_FL_DISABLED;
837 837
838 if (trace_fprobe_is_tracepoint(tf))838 if (trace_fprobe_is_tracepoint(tf))
839 return __regsiter_tracepoint_fprobe(tf);839 return __register_tracepoint_fprobe(tf);
840 840
841 /* TODO: handle filter, nofilter or symbol list */841 /* TODO: handle filter, nofilter or symbol list */
842 return register_fprobe(&tf->fp, tf->symbol, NULL);842 return register_fprobe(&tf->fp, tf->symbol, NULL);