lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87a5hklqgx.wl-tiwai@suse.de>
Date: Sat, 10 Aug 2024 10:41:34 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Norman Bintang <normanbt@...omium.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
	broonie@...nel.org,
	alsa-devel@...a-project.org,
	Takashi Iwai <tiwai@...e.com>,
	cujomalainey@...omium.org,
	Chih-Yang Hsia <paulhsia@...omium.org>,
	David Riley <davidriley@...omium.org>
Subject: Re: [PATCH] ALSA: pcm: Add xrun counter for snd_pcm_substream

On Fri, 09 Aug 2024 16:06:45 +0200,
Norman Bintang wrote:
> 
> This patch adds an xrun counter to snd_pcm_substream as an alternative
> to using logs from XRUN_DEBUG_BASIC. The counter provides a way to track
> the number of xrun occurences, accessible through the /proc interface.
> 
> The counter is enabled when CONFIG_SND_PCM_XRUN_DEBUG is set.
> 
> Example output:
> 
> $ cat /proc/asound/card0/pcm9p/sub0/status
> 
> owner_pid   : 1425
> trigger_time: 235.248957291
> tstamp      : 0.000000000
> delay       : 1912
> avail       : 480
> avail_max   : 1920
> -----
> hw_ptr      : 672000
> appl_ptr    : 673440
> xrun_counter: 3  # (new row)
> 
> Signed-off-by: Norman Bintang <normanbt@...omium.org>
> Reviewed-by: Chih-Yang Hsia <paulhsia@...omium.org>
> Tested-by: Chih-Yang Hsia <paulhsia@...omium.org>
> Reviewed-by: David Riley <davidriley@...omium.org>

Applied to for-next branch.  Thanks.


Takashi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ