lkml.org 
[lkml]   [2008]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 3/3] Trace sample
On Tue, Feb 26, 2008 at 02:38:52PM -0800, David J. Wilder wrote:
> + * This module creates a trace channel and places a kprobe
> + * on the function do_fork(). The value of current->pid is written to
> + * the trace channel each time the kprobe is hit..
> + *
> + * How to run the example:
> + * $ mount -t debugfs /debug

Tiny note, debugfs is supposed to be mounted in /sys/kernel/debug/, not
/debug.

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-03-10 22:57    [W:0.027 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site