Re: [PATCH] Documentation: improving tracepoints.txt

From: Christoph Hellwig
Date: Tue Oct 06 2009 - 16:28:37 EST


On Tue, Oct 06, 2009 at 05:09:31PM -0300, Breno Leitao wrote:
> 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.

Actually raw tracepoints are deprecated. Both the documentation and the
samples should be removed, with maybe a few tidbits about the consumer
side moved to the trace_event samples because they can still be used
with them.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/