[PATCH] Kprobes: Make kprobe modules more portable
[linux-2.6.git] / include / linux / kprobes.h
index 8bf6702da2a0348e1ac3538ffba7f1954ceffc5b..a5c5a0cb0d5cc32fe49e906d3bf73f248a828255 100644 (file)
@@ -77,6 +77,12 @@ struct kprobe {
        /* location of the probe point */
        kprobe_opcode_t *addr;
 
+       /* Allow user to indicate symbol name of the probe point */
+       char *symbol_name;
+
+       /* Offset into the symbol */
+       unsigned int offset;
+
        /* Called before addr is executed. */
        kprobe_pre_handler_t pre_handler;