From: Steven Rostedt <rostedt@goodmis.org>
To: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>,
linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH V3] tracing/timerlat: Hotplug support for the user-space interface
Date: Wed, 4 Oct 2023 08:20:01 -0400 [thread overview]
Message-ID: <20231004082001.104fce96@gandalf.local.home> (raw)
In-Reply-To: <20231004081731.141dfb99@gandalf.local.home>
On Wed, 4 Oct 2023 08:17:31 -0400
Steven Rostedt <rostedt@goodmis.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"
prev parent reply other threads:[~2023-10-04 12:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-29 15:02 [PATCH V3] tracing/timerlat: Hotplug support for the user-space interface Daniel Bristot de Oliveira
2023-10-04 1:03 ` Steven Rostedt
2023-10-04 10:02 ` Daniel Bristot de Oliveira
2023-10-04 12:17 ` Steven Rostedt
2023-10-04 12:20 ` Steven Rostedt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231004082001.104fce96@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=bristot@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mhiramat@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).