aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/jbd.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/trace/events/jbd.h b/include/trace/events/jbd.h
index d9658a940a39..da6f2591c25e 100644
--- a/include/trace/events/jbd.h
+++ b/include/trace/events/jbd.h
@@ -170,19 +170,22 @@ TRACE_EVENT(jbd_cleanup_journal_tail,
170); 170);
171 171
172TRACE_EVENT(journal_write_superblock, 172TRACE_EVENT(journal_write_superblock,
173 TP_PROTO(journal_t *journal), 173 TP_PROTO(journal_t *journal, int write_op),
174 174
175 TP_ARGS(journal), 175 TP_ARGS(journal, write_op),
176 176
177 TP_STRUCT__entry( 177 TP_STRUCT__entry(
178 __field( dev_t, dev ) 178 __field( dev_t, dev )
179 __field( int, write_op )
179 ), 180 ),
180 181
181 TP_fast_assign( 182 TP_fast_assign(
182 __entry->dev = journal->j_fs_dev->bd_dev; 183 __entry->dev = journal->j_fs_dev->bd_dev;
184 __entry->write_op = write_op;
183 ), 185 ),
184 186
185 TP_printk("dev %d,%d", MAJOR(__entry->dev), MINOR(__entry->dev)) 187 TP_printk("dev %d,%d write_op %x", MAJOR(__entry->dev),
188 MINOR(__entry->dev), __entry->write_op)
186); 189);
187 190
188#endif /* _TRACE_JBD_H */ 191#endif /* _TRACE_JBD_H */