~ubuntu-branches/ubuntu/jaunty/aufs/jaunty

« back to all changes in this revision

Viewing changes to sample/watchguard/probe/00readme.txt

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2007-05-09 15:29:28 UTC
  • Revision ID: james.westby@ubuntu.com-20070509152928-4sywrmkifvz0bq02
Tags: upstream-0+20070509
ImportĀ upstreamĀ versionĀ 0+20070509

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
Sample modules for linux kprobe
 
3
Junjiro Okajima
 
4
$Id: 00readme.txt,v 1.1 2007/04/09 02:49:01 sfjro Exp $
 
5
 
 
6
Introduction
 
7
----------------------------------------
 
8
It's a simple kernel module which uses kprobe.
 
9
This module sets a kprobe hook to a kernel internal function, and
 
10
prints a debug log.
 
11
You need to enable CONFIG_KPROBES.
 
12
This sample supports linux-2.6.16 and later, but I didn't test them
 
13
all.
 
14
 
 
15
Samples
 
16
----------------------------------------
 
17
All kernel modules are prefixed by 'p', for example pcpup.ko.
 
18
 
 
19
o cpup
 
20
  sets a hook to aufs copy-up function. it prints all copying-up
 
21
  filename.
 
22
  you can edit $EXTRA_CFLAGS in cpup/Makefile.
 
23
o open
 
24
  this is not aufs specific. it prints all opening filename on every
 
25
  filesystem.
 
26
 
 
27
Build
 
28
----------------------------------------
 
29
Just 'make'.
 
30
You can edit $kdir in ./Makefile.
 
31
 
 
32
Enjoy!