aboutsummaryrefslogtreecommitdiff
path: root/src/traced/probes/ftrace/test/data/synthetic/events/dma_fence/dma_fence_init/format
diff options
context:
space:
mode:
Diffstat (limited to 'src/traced/probes/ftrace/test/data/synthetic/events/dma_fence/dma_fence_init/format')
-rw-r--r--src/traced/probes/ftrace/test/data/synthetic/events/dma_fence/dma_fence_init/format14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/traced/probes/ftrace/test/data/synthetic/events/dma_fence/dma_fence_init/format b/src/traced/probes/ftrace/test/data/synthetic/events/dma_fence/dma_fence_init/format
new file mode 100644
index 000000000..b25f8e799
--- /dev/null
+++ b/src/traced/probes/ftrace/test/data/synthetic/events/dma_fence/dma_fence_init/format
@@ -0,0 +1,14 @@
+name: dma_fence_init
+ID: 1091
+format:
+ field:unsigned short common_type; offset:0; size:2; signed:0;
+ field:unsigned char common_flags; offset:2; size:1; signed:0;
+ field:unsigned char common_preempt_count; offset:3; size:1; signed:0;
+ field:int common_pid; offset:4; size:4; signed:1;
+
+ field:__data_loc char[] driver; offset:8; size:4; signed:0;
+ field:__data_loc char[] timeline; offset:12; size:4; signed:0;
+ field:unsigned int context; offset:16; size:4; signed:0;
+ field:unsigned int seqno; offset:20; size:4; signed:0;
+
+print fmt: "driver=%s timeline=%s context=%u seqno=%u", __get_str(driver), __get_str(timeline), REC->context, REC->seqno