[lttng-dev] Simple question about tracepoint defs

Sandeep K Chaudhary babbusandy2006 at gmail.com
Wed Jul 2 02:02:25 EDT 2014


Hi guys,

I have a simple question about tracepoint definitions.

Is it not possible to have two or more trace-point definitions in the
same header file?

Reading from the manual[1] as

"There can be an arbitrary number of tracepoint providers within an
application, but they must each have their own provider name. Duplicate
provider names are not allowed.",

I get the idea that it is not possible since each tracepoint provider
needs to have unique name, and therefore, should be in a different
header file.

Please confirm if this is the case.

It would be much better for me if it is possible to have multiple
trace-point definitions in the same header file.

[1] https://lttng.org/files/doc/man-pages/man3/lttng-ust.3.html

Thanks and regards,
Sandeep.



More information about the lttng-dev mailing list