aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-02-24 17:38:14 +0100
committerMark Brown <[email protected]>2016-02-26 10:52:48 +0900
commitf4833a519aec793cf8349bf479589d37473ef6a7 (patch)
treedf7a1a364b6df7600ecb1d528dcea761e099107d /tools/perf/scripts/python/call-graph-from-postgresql.py
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
ASoC: trace: fix printing jack name
After a change to the snd_jack structure, the 'name' member is no longer available in all configurations, which results in a build failure in the tracing code: include/trace/events/asoc.h: In function 'trace_event_raw_event_snd_soc_jack_report': include/trace/events/asoc.h:240:32: error: 'struct snd_jack' has no member named 'name' The name field is normally initialized from the card shortname and the jack "id" field: snprintf(jack->name, sizeof(jack->name), "%s %s", card->shortname, jack->id); This changes the tracing output to just contain the 'id' by itself, which slightly changes the output format but avoids the link error and is hopefully still enough to see what is going on. Signed-off-by: Arnd Bergmann <[email protected]> Fixes: fe0d128c57bf ("ALSA: jack: Allow building the jack layer without input device") Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions