X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fust%2Fprocessor.h;h=6f0b9491be99f1f4b3b858f883925ad2279d0ce0;hb=a4db742aa7a1c19142126e047c7088838d634a51;hp=2546cbfd88690f15d3b92cb93b52f7ce78a87cde;hpb=8c98245fd779d9aa1ae9b33524bc504f91d5dcae;p=ust.git diff --git a/include/ust/processor.h b/include/ust/processor.h index 2546cbf..6f0b949 100644 --- a/include/ust/processor.h +++ b/include/ust/processor.h @@ -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 */