X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=Documentation%2Ftracepoints.txt;h=c0e1ceed75a441b692bf447b3fcdc49d8abdd1cc;hb=a48f410a0a5a6c47cdfda35af49ea0e5aafb7745;hp=4ff43c6de299c32a40f6e718b19b7fcffedeae6f;hpb=9a1043d19c4edc4ff1d80081a39809a506a62e4d;p=linux-2.6-omap-h63xx.git diff --git a/Documentation/tracepoints.txt b/Documentation/tracepoints.txt index 4ff43c6de29..c0e1ceed75a 100644 --- a/Documentation/tracepoints.txt +++ b/Documentation/tracepoints.txt @@ -103,13 +103,14 @@ used to export the defined tracepoints. * Probe / tracepoint example -See the example provided in samples/tracepoints/src +See the example provided in samples/tracepoints -Compile them with your kernel. +Compile them with your kernel. They are built during 'make' (not +'make modules') when CONFIG_SAMPLE_TRACEPOINTS=m. Run, as root : -modprobe tracepoint-example (insmod order is not important) -modprobe tracepoint-probe-example -cat /proc/tracepoint-example (returns an expected error) -rmmod tracepoint-example tracepoint-probe-example +modprobe tracepoint-sample (insmod order is not important) +modprobe tracepoint-probe-sample +cat /proc/tracepoint-sample (returns an expected error) +rmmod tracepoint-sample tracepoint-probe-sample dmesg