hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/sound/core/pcm_lib.c
....@@ -43,6 +43,7 @@
4343 #define trace_xrun(substream)
4444 #define trace_hw_ptr_error(substream, reason)
4545 #define trace_applptr(substream, prev, curr)
46
+#define trace_applptr_start(substream, frame)
4647 #endif
4748
4849 #define STRING_LENGTH_OF_INT 12
....@@ -2139,6 +2140,8 @@
21392140 if (err < 0)
21402141 return err;
21412142
2143
+ trace_applptr_start(substream, size);
2144
+
21422145 is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
21432146 if (interleaved) {
21442147 if (runtime->access != SNDRV_PCM_ACCESS_RW_INTERLEAVED &&