diff options
| author | Takashi Iwai <tiwai@suse.de> | 2018-07-04 15:08:05 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2018-07-04 15:34:59 +0200 |
| commit | e647f5a5c5d165c87750e8c0dcbe341b5a378ffd (patch) | |
| tree | ea8b6fe2e8fb03060f2886fe4166a1014d25154b /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | ALSA: pcm: trace XRUN event at injection, too (diff) | |
| download | linux-e647f5a5c5d165c87750e8c0dcbe341b5a378ffd.tar.gz linux-e647f5a5c5d165c87750e8c0dcbe341b5a378ffd.zip | |
ALSA: pcm: Use snd_pcm_stop_xrun() for xrun injection
Basically the xrun injection routine can simply call the standard
helper snd_pcm_stop_xrun(), but with one exception: it may be called
even when the stream is closed.
Make snd_pcm_stop_xrun() more robust and check the NULL runtime state,
and simplify xrun injection code by calling it.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
