projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
instrumentation: update mm_vmscan for kernel >= 5.7.0
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
jbd2.h
diff --git
a/instrumentation/events/lttng-module/jbd2.h
b/instrumentation/events/lttng-module/jbd2.h
index 2aa0a006adbcbe10ff04a3b54c5255282fd5dfb2..a760da249698868762a7a5be18405a636699ad82 100644
(file)
--- a/
instrumentation/events/lttng-module/jbd2.h
+++ b/
instrumentation/events/lttng-module/jbd2.h
@@
-1,20
+1,19
@@
+/* SPDX-License-Identifier: GPL-2.0 */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM jbd2
#if !defined(LTTNG_TRACE_JBD2_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_JBD2_H
#undef TRACE_SYSTEM
#define TRACE_SYSTEM jbd2
#if !defined(LTTNG_TRACE_JBD2_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_JBD2_H
-#include
"../../../probes/lttng-tracepoint-event.h"
+#include
<probes/lttng-tracepoint-event.h>
#include <linux/jbd2.h>
#include <linux/version.h>
#include <linux/jbd2.h>
#include <linux/version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
#ifndef _TRACE_JBD2_DEF
#define _TRACE_JBD2_DEF
struct transaction_chp_stats_s;
struct transaction_run_stats_s;
#endif
#ifndef _TRACE_JBD2_DEF
#define _TRACE_JBD2_DEF
struct transaction_chp_stats_s;
struct transaction_run_stats_s;
#endif
-#endif
LTTNG_TRACEPOINT_EVENT(jbd2_checkpoint,
LTTNG_TRACEPOINT_EVENT(jbd2_checkpoint,
@@
-102,7
+101,6
@@
LTTNG_TRACEPOINT_EVENT(jbd2_submit_inode_data,
)
)
)
)
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
LTTNG_TRACEPOINT_EVENT(jbd2_run_stats,
TP_PROTO(dev_t dev, unsigned long tid,
struct transaction_run_stats_s *stats),
LTTNG_TRACEPOINT_EVENT(jbd2_run_stats,
TP_PROTO(dev_t dev, unsigned long tid,
struct transaction_run_stats_s *stats),
@@
-138,9
+136,7
@@
LTTNG_TRACEPOINT_EVENT(jbd2_checkpoint_stats,
ctf_integer(__u32, dropped, stats->cs_dropped)
)
)
ctf_integer(__u32, dropped, stats->cs_dropped)
)
)
-#endif
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34))
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0))
LTTNG_TRACEPOINT_EVENT(jbd2_update_log_tail,
#else
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0))
LTTNG_TRACEPOINT_EVENT(jbd2_update_log_tail,
#else
@@
-160,7
+156,6
@@
LTTNG_TRACEPOINT_EVENT(jbd2_cleanup_journal_tail,
ctf_integer(unsigned long, freed, freed)
)
)
ctf_integer(unsigned long, freed, freed)
)
)
-#endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0))
LTTNG_TRACEPOINT_EVENT(jbd2_write_superblock,
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0))
LTTNG_TRACEPOINT_EVENT(jbd2_write_superblock,
@@
-179,4
+174,4
@@
LTTNG_TRACEPOINT_EVENT(jbd2_write_superblock,
#endif /* LTTNG_TRACE_JBD2_H */
/* This part must be outside protection */
#endif /* LTTNG_TRACE_JBD2_H */
/* This part must be outside protection */
-#include
"../../../probes/define_trace.h"
+#include
<probes/define_trace.h>
This page took
0.02487 seconds
and
4
git commands to generate.