projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: export name as text array in writeback
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
writeback.h
diff --git
a/instrumentation/events/lttng-module/writeback.h
b/instrumentation/events/lttng-module/writeback.h
index 111decf069aab41ad20de8c77c402b5d547a6264..a7657ed0e75bc04c9d2a94e85894cf3a4d039776 100644
(file)
--- a/
instrumentation/events/lttng-module/writeback.h
+++ b/
instrumentation/events/lttng-module/writeback.h
@@
-132,7
+132,7
@@
LTTNG_TRACEPOINT_EVENT_CLASS(writeback_work_class,
TP_PROTO(struct backing_dev_info *bdi, struct wb_writeback_work *work),
TP_ARGS(bdi, work),
TP_STRUCT__entry(
TP_PROTO(struct backing_dev_info *bdi, struct wb_writeback_work *work),
TP_ARGS(bdi, work),
TP_STRUCT__entry(
- __array(char, name, 32)
+ __array
_text
(char, name, 32)
),
TP_fast_assign(
tp_memcpy(name, dev_name(bdi->dev ? bdi->dev :
),
TP_fast_assign(
tp_memcpy(name, dev_name(bdi->dev ? bdi->dev :
@@
-171,7
+171,7
@@
LTTNG_TRACEPOINT_EVENT_CLASS(writeback_class,
TP_PROTO(struct backing_dev_info *bdi),
TP_ARGS(bdi),
TP_STRUCT__entry(
TP_PROTO(struct backing_dev_info *bdi),
TP_ARGS(bdi),
TP_STRUCT__entry(
- __array(char, name, 32)
+ __array
_text
(char, name, 32)
),
TP_fast_assign(
tp_memcpy(name, dev_name(bdi->dev), 32)
),
TP_fast_assign(
tp_memcpy(name, dev_name(bdi->dev), 32)
@@
-234,7
+234,7
@@
LTTNG_TRACEPOINT_EVENT_CLASS(writeback_wbc_class,
TP_PROTO(struct writeback_control *wbc, struct backing_dev_info *bdi),
TP_ARGS(wbc, bdi),
TP_STRUCT__entry(
TP_PROTO(struct writeback_control *wbc, struct backing_dev_info *bdi),
TP_ARGS(wbc, bdi),
TP_STRUCT__entry(
- __array(char, name, 32)
+ __array
_text
(char, name, 32)
__field(long, nr_to_write)
__field(long, pages_skipped)
__field(int, sync_mode)
__field(long, nr_to_write)
__field(long, pages_skipped)
__field(int, sync_mode)
@@
-574,7
+574,7
@@
LTTNG_TRACEPOINT_EVENT(writeback_sb_inodes_requeue,
TP_ARGS(inode),
TP_STRUCT__entry(
TP_ARGS(inode),
TP_STRUCT__entry(
- __array(char, name, 32)
+ __array
_text
(char, name, 32)
__field(unsigned long, ino)
__field(unsigned long, state)
__field(unsigned long, dirtied_when)
__field(unsigned long, ino)
__field(unsigned long, state)
__field(unsigned long, dirtied_when)
@@
-645,7
+645,7
@@
LTTNG_TRACEPOINT_EVENT_CLASS(writeback_single_inode_template,
TP_ARGS(inode, wbc, nr_to_write),
TP_STRUCT__entry(
TP_ARGS(inode, wbc, nr_to_write),
TP_STRUCT__entry(
- __array(char, name, 32)
+ __array
_text
(char, name, 32)
__field(unsigned long, ino)
__field(unsigned long, state)
__field(unsigned long, dirtied_when)
__field(unsigned long, ino)
__field(unsigned long, state)
__field(unsigned long, dirtied_when)
This page took
0.023841 seconds
and
4
git commands to generate.