projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Add gfp_flags arg to mm_vmscan_kswapd_wake for 4.17
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
asoc.h
diff --git
a/instrumentation/events/lttng-module/asoc.h
b/instrumentation/events/lttng-module/asoc.h
index 79ffc26e607b11e299046688f62e9a1c877b1dcf..25136ec09d671e16ecc7bd6b57d8d0c35f089f45 100644
(file)
--- a/
instrumentation/events/lttng-module/asoc.h
+++ b/
instrumentation/events/lttng-module/asoc.h
@@
-4,7
+4,7
@@
#if !defined(LTTNG_TRACE_ASOC_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_ASOC_H
#if !defined(LTTNG_TRACE_ASOC_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_ASOC_H
-#include
"../../../probes/lttng-tracepoint-event.h"
+#include
<probes/lttng-tracepoint-event.h>
#include <linux/ktime.h>
#include <linux/version.h>
#include <linux/ktime.h>
#include <linux/version.h>
@@
-21,7
+21,8
@@
struct snd_soc_card;
struct snd_soc_dapm_widget;
#endif
struct snd_soc_dapm_widget;
#endif
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0) \
+ || LTTNG_RHEL_KERNEL_RANGE(3,10,0,514,0,0, 3,11,0,0,0,0))
#define CODEC_NAME_FIELD component.name
#define CODEC_ID_FIELD component.id
#else
#define CODEC_NAME_FIELD component.name
#define CODEC_ID_FIELD component.id
#else
@@
-345,4
+346,4
@@
LTTNG_TRACEPOINT_EVENT_MAP(snd_soc_cache_sync,
#endif /* LTTNG_TRACE_ASOC_H */
/* This part must be outside protection */
#endif /* LTTNG_TRACE_ASOC_H */
/* This part must be outside protection */
-#include
"../../../probes/define_trace.h"
+#include
<probes/define_trace.h>
This page took
0.023409 seconds
and
4
git commands to generate.