File: kernel-patch-ltt.README.Debian

package info (click to toggle)
ltt 0.9.5pre6-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,256 kB
  • ctags: 1,630
  • sloc: ansic: 17,284; sh: 8,010; makefile: 252
file content (19 lines) | stat: -rw-r--r-- 617 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
To build a patched kernel using kernel-package, use something like:

$ make-kpkg clean
$ PATCH_THE_KERNEL=YES fakeroot make-kpkg --revision=ltt.1 --config=menuconfig kernel_image

And select the desired options in the 'Kernel tracing' section.

For now you'll have to create /dev/tracer manually for the tools to
access the module, as current major number for the device is still
taken from the "LOCAL/EXPERIMENTAL USE" range.

The doc suggests to do this with:

# insmod tracer
# mknod /dev/tracer c [number seen in /proc/devices] 0

You will probably want to make it readable by root only:

# chmod 600 /dev/tracer