From f45e756958099c35d6afb746df1d40a1c6302cfc Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 07 Nov 2023 06:20:23 +0000
Subject: [PATCH] enable wifi gpio
---
kernel/sound/core/pcm_trace.h | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/kernel/sound/core/pcm_trace.h b/kernel/sound/core/pcm_trace.h
index f18da20..535fbaa 100644
--- a/kernel/sound/core/pcm_trace.h
+++ b/kernel/sound/core/pcm_trace.h
@@ -141,6 +141,32 @@
)
);
+TRACE_EVENT(applptr_start,
+ TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_uframes_t size),
+ TP_ARGS(substream, size),
+ TP_STRUCT__entry(
+ __field( unsigned int, card )
+ __field( unsigned int, device )
+ __field( unsigned int, number )
+ __field( unsigned int, stream )
+ __field( snd_pcm_uframes_t, size )
+ ),
+ TP_fast_assign(
+ __entry->card = (substream)->pcm->card->number;
+ __entry->device = (substream)->pcm->device;
+ __entry->number = (substream)->number;
+ __entry->stream = (substream)->stream;
+ __entry->size = (size);
+ ),
+ TP_printk("pcmC%dD%d%s/sub%d: size=%lu",
+ __entry->card,
+ __entry->device,
+ __entry->stream ? "c" : "p",
+ __entry->number,
+ __entry->size
+ )
+);
+
#endif /* _PCM_TRACE_H */
/* This part must be outside protection */
--
Gitblit v1.6.2