lkml.org 
[lkml]   [2009]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC V2 PATCH]debugfs:Fix terminology inconsistency of dir name to mount debugfs filesystem.



On Sat, 30 May 2009, GeunSik Lim wrote:

>
>
> Dear Greg and Steen,
>
> Thanks your advices and opinions about a confusion according to
> too many mount directory names for debugfs. I made rfc v2 patch file again like belows.
> Can I hear your advices about below patch contents?.
>
> * ref:
> http://groups.google.com/group/linux.kernel/browse_thread/thread/c34e386587979340/dc52317f888e78b6?#dc52317f888e78b6
>
>
> Regards,
> GeunSik Lim.
>
> Subject: [PATCH] Fix terminology inconsistency of dir name to mount debugfs filesystem.
>
> Many developers use "/debug/" or "/debugfs/ directory name to mount
> debugfs filesystem for ftrace according to
> ./Documentation/tracers/ftrace.txt file.
>
> And, three directory names(ex:/debug/, /debugfs/, /sys/kernel/debug/) is
> existed in kernel source like ftrace, DRM, Wireless, Network[sky2]files
> to mount debugfs filesystem.
>
> debugfs means debug filesystem for debugging easy to use by greg kroah
> hartman. "/sys/kernel/debug/" name is suitable as directory name
> of debugfs filesystem.
> -debugfs related reference: http://lwn.net/Articles/115405/

Note, LWN has an update this week:

http://lwn.net/Articles/334546/

But it currently is subscriber only. Others would need to either buy a
subscription (plug) or wait a week for it to become open.

Still for some aspects, just having "debugfs" without the leading "/"
might just be self explanatory. We can assume the user already knows where
debugfs is mounted.

-- Steve


>
> Fix inconsistency of directory name to mount debugfs filesystem.
>
> Signed-off-by: GeunSik Lim <geunsik.lim@samsung.com>
> Acked-By: Inaky Perez-Gonzalez <inaky@linux.intel.com>
> CC: Greg KH <greg@kroah.com>
> CC: Steven Rostedt <rostedt@goodmis.org>
> CC: linux-kernel <linux-kernel@vger.kernel.org>


\
 
 \ /
  Last update: 2009-05-29 18:51    [W:0.109 / U:1.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site