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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231004082001.104fce96@gandalf.local.home>
Date:   Wed, 4 Oct 2023 08:20:01 -0400
From:   Steven Rostedt <rostedt@...dmis.org>
To:     Daniel Bristot de Oliveira <bristot@...nel.org>
Cc:     Masami Hiramatsu <mhiramat@...nel.org>,
        linux-trace-kernel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V3] tracing/timerlat: Hotplug support for the user-space
 interface

On Wed, 4 Oct 2023 08:17:31 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:

> #!/bin/bash
> 
> find_debugfs() {
>     debugfs=`cat /proc/mounts | while read mount dir type opts a b; do
> 	if [ $mount == "debugfs" ]; then

I guess I should update this to look for tracefs. This script is actually
older than tracefs.

-- Steve


> 	    echo $dir;
> 	    break
> 	fi
>     done`
>     if [ -z "$debugfs" ]; then
> 	if ! mount -t debugfs nodev /sys/kernel/debug; then
> 	    echo "FAILED to mount debugfs"
> 	    exit -1
> 	fi
> 	echo "/sys/kernel/debug"
>     else
> 	echo $debugfs
>     fi
> }
> 
> debugfs=`find_debugfs`
> tracedir="$debugfs/tracing"

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ