]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: pcm: use %s instead of %c for format of PCM buffer tracepoints
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 12 Jun 2017 00:41:46 +0000 (09:41 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jun 2017 06:49:24 +0000 (08:49 +0200)
commitf5abd532227affc2129586f74d28d28c316ae1e3
treeae470ea8c262b4d3755f8c8b4bf274534ab58b17
parentfccf53881e9b564321326f62ed5f85130fa6e569
ALSA: pcm: use %s instead of %c for format of PCM buffer tracepoints

As long as I know, in userspace, '%c' format on printing format for
tracepoint is replaced with '>c<' by existent tracing program; i.g.
'perf-trace' and 'trace-cmd'. This is inconvenient.

This commit replaces the format with '%s'. The length of letters in the
format string is not changed, thus this commit doesn't increase object
size.

In theory, I should work for improvements of these tracing programs, but
here I'd like to save my time to work for the other projects.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_trace.h