mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
debugfs: Fix terminology inconsistency of dir name to mount debugfs filesystem.
Many developers use "/debug/" or "/debugfs/" or "/sys/kernel/debug/" 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, Documentation, 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/334546/ Fix inconsistency of directory name to mount debugfs filesystem. * From Steven Rostedt - find_debugfs() and tracing_files() in this patch. Signed-off-by: GeunSik Lim <[email protected]> Acked-by : Inaky Perez-Gonzalez <[email protected]> Reviewed-by : Steven Rostedt <[email protected]> Reviewed-by : James Smart <[email protected]> CC: Jiri Kosina <[email protected]> CC: David Airlie <[email protected]> CC: Peter Osterlund <[email protected]> CC: Ananth N Mavinakayanahalli <[email protected]> CC: Anil S Keshavamurthy <[email protected]> CC: Masami Hiramatsu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
1b713e0050
commit
156f5a7801
20 changed files with 238 additions and 191 deletions
|
|
@ -430,7 +430,7 @@ static void pkt_sysfs_cleanup(void)
|
|||
/********************************************************************
|
||||
entries in debugfs
|
||||
|
||||
/debugfs/pktcdvd[0-7]/
|
||||
/sys/kernel/debug/pktcdvd[0-7]/
|
||||
info
|
||||
|
||||
*******************************************************************/
|
||||
|
|
|
|||
Loading…
Reference in a new issue