projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add callsite support
[lttng-ust.git]
/
include
/
lttng
/
tracepoint-types.h
diff --git
a/include/lttng/tracepoint-types.h
b/include/lttng/tracepoint-types.h
index 0c0c723729363a6cfd5a69813d37f76e7dca099a..27500d40451535ada1e63c227e80c6a7bc291a0f 100644
(file)
--- a/
include/lttng/tracepoint-types.h
+++ b/
include/lttng/tracepoint-types.h
@@
-30,4
+30,13
@@
struct tracepoint {
char padding[TRACEPOINT_PADDING];
};
char padding[TRACEPOINT_PADDING];
};
+#define TRACEPOINT_CALLSITE_PADDING 16
+struct tracepoint_callsite {
+ const struct tracepoint *tp;
+ const char *func;
+ const char *file;
+ unsigned int lineno;
+ char padding[TRACEPOINT_CALLSITE_PADDING];
+};
+
#endif /* _LTTNG_TRACEPOINT_TYPES_H */
#endif /* _LTTNG_TRACEPOINT_TYPES_H */
This page took
0.02402 seconds
and
4
git commands to generate.