first take on the save ip on x86-32
[ust.git] / include / ust / processor.h
index 2546cbfd88690f15d3b92cb93b52f7ce78a87cde..6f0b9491be99f1f4b3b858f883925ad2279d0ce0 100644 (file)
@@ -122,10 +122,8 @@ struct registers {
 
 #define save_ip(channel,name)
 
-
 #else /* CONFIG_UST_GDB_INTEGRATION */
 
-#define save_ip(channel,name)
 #define save_registers(a)
 
 #endif /* CONFIG_UST_GDB_INTEGRATION */
@@ -160,12 +158,6 @@ struct registers {
 };
 
 #ifdef CONFIG_UST_GDB_INTEGRATION
-#define save_ip(channel,name) \
-       asm (".section __marker_addr,\"aw\",@progbits\n\t"      \
-              _ASM_PTR "%c[marker_struct], (1f)\n\t"           \
-              ".previous\n\t"                                  \
-              "1:\n\t"                                         \
-               :: [marker_struct] "i" (&__mark_##channel##_##name));\
 
 #define save_registers(regsptr) \
        asm volatile ( \
@@ -294,7 +286,6 @@ struct registers {
 
 #else /* CONFIG_UST_GDB_INTEGRATION */
 
-#define save_ip(channel,name)
 #define save_registers(a)
 
 #endif /* CONFIG_UST_GDB_INTEGRATION */
This page took 0.023825 seconds and 4 git commands to generate.