summaryrefslogtreecommitdiff
path: root/sound/hda/trace.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-03-10 17:16:28 +0300
committerTakashi Iwai <tiwai@suse.de>2015-03-23 15:17:58 +0300
commite311782acd196d17d25b323d115709c50c8f7d3f (patch)
treeafdc50298bdc5fe760bd7f501ce152bcc54b25af /sound/hda/trace.c
parentc4c2533f802d6877803c4d778def43d8a122f27b (diff)
downloadlinux-e311782acd196d17d25b323d115709c50c8f7d3f.tar.xz
ALSA: hda - Re-add tracepoints to HD-audio core driver
Now let's take the basic tracepoints back to the HD-audio driver. The three bus tracepoints, hda_send_cmd, hda_get_response and hda_unsol_event are revived but in a slightly different form. Since we don't assign the card number there, print the bus device name instead. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda/trace.c')
-rw-r--r--sound/hda/trace.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/hda/trace.c b/sound/hda/trace.c
new file mode 100644
index 000000000000..ca2d6bd94518
--- /dev/null
+++ b/sound/hda/trace.c
@@ -0,0 +1,6 @@
+/*
+ * tracepoint definitions for HD-audio core drivers
+ */
+
+#define CREATE_TRACE_POINTS
+#include "trace.h"