projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: compaction instrumentation update for 3.14.x stable kernels
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
signal.h
diff --git
a/instrumentation/events/lttng-module/signal.h
b/instrumentation/events/lttng-module/signal.h
index c3529f973d6beb1870b45db15ff6f6d36630e3a0..a1c904bc8a27cac72df8d4ca64913c298eb536c2 100644
(file)
--- a/
instrumentation/events/lttng-module/signal.h
+++ b/
instrumentation/events/lttng-module/signal.h
@@
-46,7
+46,7
@@
TRACE_EVENT(signal_generate,
__field( int, sig )
__field( int, errno )
__field( int, code )
__field( int, sig )
__field( int, errno )
__field( int, code )
- __array
(
char, comm, TASK_COMM_LEN )
+ __array
_text(
char, comm, TASK_COMM_LEN )
__field( pid_t, pid )
),
__field( pid_t, pid )
),
@@
-73,7
+73,7
@@
TRACE_EVENT(signal_generate,
__field( int, sig )
__field( int, errno )
__field( int, code )
__field( int, sig )
__field( int, errno )
__field( int, code )
- __array
(
char, comm, TASK_COMM_LEN )
+ __array
_text(
char, comm, TASK_COMM_LEN )
__field( pid_t, pid )
__field( int, group )
__field( int, result )
__field( pid_t, pid )
__field( int, group )
__field( int, result )
@@
-135,6
+135,7
@@
TRACE_EVENT(signal_deliver,
__entry->sa_handler, __entry->sa_flags)
)
__entry->sa_handler, __entry->sa_flags)
)
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0))
DECLARE_EVENT_CLASS(signal_queue_overflow,
TP_PROTO(int sig, int group, struct siginfo *info),
DECLARE_EVENT_CLASS(signal_queue_overflow,
TP_PROTO(int sig, int group, struct siginfo *info),
@@
-193,6
+194,7
@@
DEFINE_EVENT(signal_queue_overflow, signal_lose_info,
TP_ARGS(sig, group, info)
)
TP_ARGS(sig, group, info)
)
+#endif
#endif /* _TRACE_SIGNAL_H */
#endif /* _TRACE_SIGNAL_H */
This page took
0.024001 seconds
and
4
git commands to generate.