ftrace: Fix en(dis)able graph caller when en(dis)abling record via sysctl
[deliverable/linux.git] / kernel / module.c
index 8426ad48362c73f96e8031a7c9b0cd16eba1d426..b34813f725e970fa79b97e625fab6c568543aaf8 100644 (file)
@@ -3025,8 +3025,13 @@ static void do_free_init(struct rcu_head *head)
        kfree(m);
 }
 
-/* This is where the real work happens */
-static int do_init_module(struct module *mod)
+/*
+ * This is where the real work happens.
+ *
+ * Keep it uninlined to provide a reliable breakpoint target, e.g. for the gdb
+ * helper command 'lx-symbols'.
+ */
+static noinline int do_init_module(struct module *mod)
 {
        int ret = 0;
        struct mod_initfree *freeinit;
This page took 0.02515 seconds and 5 git commands to generate.