projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace __COUNTER__ with the more portable __LINE__
[lttng-ust.git]
/
include
/
ust
/
processor.h
diff --git
a/include/ust/processor.h
b/include/ust/processor.h
index 2546cbfd88690f15d3b92cb93b52f7ce78a87cde..987f75e6cee329b2baba95fb623bc9c8efe302a7 100644
(file)
--- 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));
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 */
#else /* CONFIG_UST_GDB_INTEGRATION */
-#define save_ip(channel,name)
#define save_registers(a)
#endif /* CONFIG_UST_GDB_INTEGRATION */
#define save_registers(a)
#endif /* CONFIG_UST_GDB_INTEGRATION */
@@
-160,12
+156,6
@@
struct registers {
};
#ifdef CONFIG_UST_GDB_INTEGRATION
};
#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 ( \
#define save_registers(regsptr) \
asm volatile ( \
@@
-294,7
+284,6
@@
struct registers {
#else /* CONFIG_UST_GDB_INTEGRATION */
#else /* CONFIG_UST_GDB_INTEGRATION */
-#define save_ip(channel,name)
#define save_registers(a)
#endif /* CONFIG_UST_GDB_INTEGRATION */
#define save_registers(a)
#endif /* CONFIG_UST_GDB_INTEGRATION */
This page took
0.024177 seconds
and
4
git commands to generate.