diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2011-03-16 19:05:26 -0400 |
---|---|---|
committer | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2011-03-16 19:05:26 -0400 |
commit | ec9c4352b97d2aae6437983529b3df669bfcbb61 (patch) | |
tree | c38f7594a52918227fea1fa244ef7d259521e59b /Documentation | |
parent | 45e2e1df5796ade73f13975a41e6588fac612cb6 (diff) |
tracepoints-improve-documentation-sample
After reading the tracepoints.txt documentation, I tried to
follow the instructions to run the sample, but just assigning
CONFIG_SAMPLE_TRACEPOINTS=m wasn't enough to generate the tracepoints
samples. I also need to set CONFIG_SAMPLES=y, otherwise nothing
happens.
So, this silly patch explicit says that CONFIG_SAMPLES should be set to
compile those files.
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/trace/tracepoints.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/trace/tracepoints.txt b/Documentation/trace/tracepoints.txt index c0e1ceed75a..d380250339a 100644 --- a/Documentation/trace/tracepoints.txt +++ b/Documentation/trace/tracepoints.txt @@ -106,7 +106,7 @@ used to export the defined tracepoints. See the example provided in samples/tracepoints Compile them with your kernel. They are built during 'make' (not -'make modules') when CONFIG_SAMPLE_TRACEPOINTS=m. +'make modules') when CONFIG_SAMPLE=y and CONFIG_SAMPLE_TRACEPOINTS=m. Run, as root : modprobe tracepoint-sample (insmod order is not important) |