summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/videobuf2/vb2-trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common/videobuf2/vb2-trace.c')
-rw-r--r--drivers/media/common/videobuf2/vb2-trace.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/common/videobuf2/vb2-trace.c b/drivers/media/common/videobuf2/vb2-trace.c
new file mode 100644
index 0000000000..4c0f39d271
--- /dev/null
+++ b/drivers/media/common/videobuf2/vb2-trace.c
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
+#include <media/videobuf2-core.h>
+
+#define CREATE_TRACE_POINTS
+#include <trace/events/vb2.h>
+
+EXPORT_TRACEPOINT_SYMBOL_GPL(vb2_buf_done);
+EXPORT_TRACEPOINT_SYMBOL_GPL(vb2_buf_queue);
+EXPORT_TRACEPOINT_SYMBOL_GPL(vb2_dqbuf);
+EXPORT_TRACEPOINT_SYMBOL_GPL(vb2_qbuf);