Fix: don't do macro expansion in tracepoint file name
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 17 Dec 2012 20:36:08 +0000 (15:36 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 17 Dec 2012 20:36:08 +0000 (15:36 -0500)
commit41858e2b6e81ee5e02eccdd7467b9239d4cdf726
tree7931a76f00bb310095364bed082e7fcef53d6842
parent7cd5a8404671276379bdc6a2331ac0da96f9b72b
Fix: don't do macro expansion in tracepoint file name

Change the API in a backward compatible way: previously, probe headers
would do e.g.

but e.g. "linux" here would be expanded to "1", which is bad.

Fix this by allowing those headers to do:

instead. We still support the old TRACEPOINT_INCLUDE_FILE for backward
compatibility.

Reported-by: Sébastien Barthélémy <barthelemy@crans.org>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/tracepoint-event.h
This page took 0.025031 seconds and 4 git commands to generate.