projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop support for kernels < 4.4 from jbd instrumentation
[lttng-modules.git]
/
include
/
instrumentation
/
events
/
jbd.h
diff --git
a/include/instrumentation/events/jbd.h
b/include/instrumentation/events/jbd.h
index 7d0e9c8757f4f9c308ed1e7aa5287893bf983e07..72c7af6afd883388c5be2354c4cdc244d3a16f98 100644
(file)
--- a/
include/instrumentation/events/jbd.h
+++ b/
include/instrumentation/events/jbd.h
@@
-29,9
+29,6
@@
LTTNG_TRACEPOINT_EVENT_CLASS(jbd_commit,
TP_FIELDS(
ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev)
TP_FIELDS(
ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev)
-#if (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(3,5,0))
- ctf_integer(char, sync_commit, commit_transaction->t_synchronous_commit)
-#endif
ctf_integer(int, transaction, commit_transaction->t_tid)
)
)
ctf_integer(int, transaction, commit_transaction->t_tid)
)
)
@@
-72,9
+69,6
@@
LTTNG_TRACEPOINT_EVENT(jbd_drop_transaction,
TP_FIELDS(
ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev)
TP_FIELDS(
ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev)
-#if (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(3,5,0))
- ctf_integer(char, sync_commit, commit_transaction->t_synchronous_commit)
-#endif
ctf_integer(int, transaction, commit_transaction->t_tid)
)
)
ctf_integer(int, transaction, commit_transaction->t_tid)
)
)
@@
-86,9
+80,6
@@
LTTNG_TRACEPOINT_EVENT(jbd_end_commit,
TP_FIELDS(
ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev)
TP_FIELDS(
ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev)
-#if (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(3,5,0))
- ctf_integer(char, sync_commit, commit_transaction->t_synchronous_commit)
-#endif
ctf_integer(int, transaction, commit_transaction->t_tid)
ctf_integer(int, head, journal->j_tail_sequence)
)
ctf_integer(int, transaction, commit_transaction->t_tid)
ctf_integer(int, head, journal->j_tail_sequence)
)
@@
-101,9
+92,6
@@
LTTNG_TRACEPOINT_EVENT(jbd_do_submit_data,
TP_FIELDS(
ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev)
TP_FIELDS(
ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev)
-#if (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(3,5,0))
- ctf_integer(char, sync_commit, commit_transaction->t_synchronous_commit)
-#endif
ctf_integer(int, transaction, commit_transaction->t_tid)
)
)
ctf_integer(int, transaction, commit_transaction->t_tid)
)
)
@@
-124,7
+112,6
@@
LTTNG_TRACEPOINT_EVENT(jbd_cleanup_journal_tail,
)
)
)
)
-#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,5,0))
LTTNG_TRACEPOINT_EVENT_MAP(journal_write_superblock,
jbd_journal_write_superblock,
LTTNG_TRACEPOINT_EVENT_MAP(journal_write_superblock,
jbd_journal_write_superblock,
@@
-138,18
+125,6
@@
LTTNG_TRACEPOINT_EVENT_MAP(journal_write_superblock,
ctf_integer(int, write_op, write_op)
)
)
ctf_integer(int, write_op, write_op)
)
)
-#else
-LTTNG_TRACEPOINT_EVENT(jbd_update_superblock_end,
- TP_PROTO(journal_t *journal, int wait),
-
- TP_ARGS(journal, wait),
-
- TP_FIELDS(
- ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev)
- ctf_integer(int, wait, wait)
- )
-)
-#endif
#endif /* LTTNG_TRACE_JBD_H */
#endif /* LTTNG_TRACE_JBD_H */
This page took
0.02574 seconds
and
4
git commands to generate.