X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fust%2Fprocessor.h;h=987f75e6cee329b2baba95fb623bc9c8efe302a7;hb=e05cba90ba95c84c8377baf22662b81fb2bfaf64;hp=2546cbfd88690f15d3b92cb93b52f7ce78a87cde;hpb=7756d65ab75135fc9b62b5376fd43f3fb1d534cc;p=lttng-ust.git diff --git a/include/ust/processor.h b/include/ust/processor.h index 2546cbfd..987f75e6 100644 --- a/include/ust/processor.h +++ b/include/ust/processor.h @@ -120,12 +120,8 @@ struct registers { memcpy(regsptr, (void *)ust_reg_stack_ptr, sizeof(struct registers)); \ ust_reg_stack_ptr = (void *)(((long)ust_reg_stack_ptr) + sizeof(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 +156,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 +284,6 @@ struct registers { #else /* CONFIG_UST_GDB_INTEGRATION */ -#define save_ip(channel,name) #define save_registers(a) #endif /* CONFIG_UST_GDB_INTEGRATION */