update
[lttv.git] / markers-test / test-mark-speed-edit.c
index 62558917238e1ef4b72ed97550192a59f1edcf9c..b8249d6964d62e6c3171ee405f12f45b3746f146 100644 (file)
 static void noinline test2(const struct marker *mdata,
         void *call_private, ...)
 {
+       unsigned char *ins = __builtin_return_address(0) - 5;
+#if 0
        /* not called */
-       printk("blah\n");
+       printk("ip %p\n", __builtin_return_address(0));
+       printk("prev_ins %hX %hX %hX %hX %hX\n",
+               ins[0], ins[1], ins[2], ins[3], ins[4]);
+#endif //0
+       ins[0] = 0x90;
+       ins[1] = 0x8d;
+       ins[2] = 0x74;
+       ins[3] = 0x26;
+       ins[4] = 0x00;
 }
 
 /*
This page took 0.023865 seconds and 4 git commands to generate.