projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
always initialize statically the .location field of struct marker to NULL
[ust.git]
/
libust
/
marker.h
diff --git
a/libust/marker.h
b/libust/marker.h
index 4c6a703be5ac6cd3b9babe91b5a3427d10b1a883..da3d30c873c8b1bf58ab793d01714d25606c0553 100644
(file)
--- a/
libust/marker.h
+++ b/
libust/marker.h
@@
-94,11
+94,10
@@
struct marker {
sizeof(#name)], \
0, 0, 0, 0, marker_probe_cb, \
{ __mark_empty_function, NULL}, \
sizeof(#name)], \
0, 0, 0, 0, marker_probe_cb, \
{ __mark_empty_function, NULL}, \
- NULL, tp_name_str, tp_cb
};
\
+ NULL, tp_name_str, tp_cb
, NULL };
\
asm (".section __marker_addr,\"aw\",@progbits\n\t" \
_ASM_PTR "%c[marker_struct], (1f)\n\t" \
".previous\n\t" \
asm (".section __marker_addr,\"aw\",@progbits\n\t" \
_ASM_PTR "%c[marker_struct], (1f)\n\t" \
".previous\n\t" \
- "\n\t" \
"1:\n\t" \
:: [marker_struct] "i" (&__mark_##channel##_##name));\
save_registers(®s)
"1:\n\t" \
:: [marker_struct] "i" (&__mark_##channel##_##name));\
save_registers(®s)
This page took
0.022823 seconds
and
4
git commands to generate.