User: Password:
|
|
Subscribe / Log in / New account

Debugging the kernel using Ftrace - part 1

Debugging the kernel using Ftrace - part 1

Posted Jan 20, 2010 1:40 UTC (Wed) by border (guest, #56791)
Parent article: Debugging the kernel using Ftrace - part 1

Ftrace uses the debugfs file system to hold the control files as
well as the files to display output.

When debugfs is configured into the kernel (which selecting any ftrace
option will do) the directory /sys/kernel/debug will be created. To mount
this directory, you can add to your /etc/fstab file:

debugfs /sys/kernel/debug debugfs defaults 0 0

Or you can mount it at run time with:

mount -t debugfs nodev /sys/kernel/debug

From: Documentation/trace/ftrace.txt


(Log in to post comments)


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds