public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: "Luis Claudio R. Goncalves" <lclaudio@uudg.org>
To: GeunSik Lim <leemgs1@gmail.com>
Cc: williams <williams@redhat.com>,
	linux-rt-users <linux-rt-users@vger.kernel.org>
Subject: Re: [PATCH ]cyclictest: fix invalid comment of debugfs mount directory.
Date: Mon, 1 Jun 2009 09:01:41 -0300	[thread overview]
Message-ID: <20090601120141.GQ21851@unix.sh> (raw)
In-Reply-To: <1243821987.20635.42.camel@centos51>

On Mon, Jun 01, 2009 at 11:06:27AM +0900, GeunSik Lim wrote:
| 
| 
| Dear Clark Williams, 
| 
| Please, Fix the "debugfs/tracing" name in cyclictest.c source file. 
| 
| P.S: Now, version is differenct between shortlog(v0.39) and tags(v0.40). 
|      Maybe, You have to check version name of shortlog table. 
|      http://git.kernel.org/?p=linux/kernel/git/clrkwllms/rt-tests.git;a=summary
| 
| Thanks,
| GeunSik Lim. 
| 
| 
| 
| Subject: [PATCH ]cyclictest: Fix invalid comment of debugfs mount directory.
| 
| The "debugfs/tracing" name is invalid.
| Example,
| #> mount -t debugfs nodev /sys/kernel/debug [enter]
| #> ln -s /sys/kernel/debug /debug [enter]
| 
| Fix directory name normally from debugfs/tracing to debug/tracing.

GeunSik,

I would suggest changing your comment in the patch to something like:

	/* finds the path to the tracing dir inside debugfs mountpoint */

Because it is not written in the stone where debugfs should be mounted.
There is a suggested place, that already changed at least twice. So, the
function locates the debugfs mountpoint, wherever it is and looks for the
tracing directory.

Luis


|          Signed-off-by: GeunSik Lim <geunsik.lim@samsung.com>
| ---
|  src/cyclictest/cyclictest.c |    2 +-
|  1 files changed, 1 insertions(+), 1 deletions(-)
| 
| diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
| index be9a3f9..32a120a 100644
| --- a/src/cyclictest/cyclictest.c
| +++ b/src/cyclictest/cyclictest.c
| @@ -179,7 +179,7 @@ static char functiontracer[MAX_PATH];
|  static char traceroptions[MAX_PATH];
|  
|  /*
| - * Finds the path to the debugfs/tracing
| + * Finds the path to the debug/tracing
|   */
|  static int set_debugfileprefix(void)
|  {
| -- 
| 1.6.3.1

-- 
[ Luis Claudio R. Goncalves             Red Hat  -  Realtime Team ]
[ Fingerprint: 4FDD B8C4 3C59 34BD 8BE9  2696 7203 D980 A448 C8F8 ]


  reply	other threads:[~2009-06-01 12:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-01  2:06 [PATCH ]cyclictest: fix invalid comment of debugfs mount directory GeunSik Lim
2009-06-01 12:01 ` Luis Claudio R. Goncalves [this message]
2009-06-01 22:17   ` GeunSik Lim
2009-06-02  5:14 ` [PATCH V2 " GeunSik Lim
2009-06-08  1:52   ` [RESEND] " GeunSik Lim
2009-06-08  4:53     ` Uwe Kleine-König
2009-06-08  5:37       ` GeunSik Lim
2009-06-12 13:41       ` [PATCH] Make comment describing set_debugfileprefix a bit clearer Uwe Kleine-König
2009-06-12 15:36         ` Clark Williams

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=20090601120141.GQ21851@unix.sh \
    --to=lclaudio@uudg.org \
    --cc=leemgs1@gmail.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=williams@redhat.com \
    /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