[lttng-dev] clarification about the "provider name" argument
barthelemy at crans.org
Thu Sep 27 08:23:35 EDT 2012
A tracepoint is defined with a declaration like
I wonder what is the meaning and the role of the "provider_name" argument.
In other words, what is the "provider" that we name here?
Is it the instrumented component which will generate (provide?) the events ?
Or is it the probes provider (the library which we LD_PRELOAD when tracing) ?
Note that at some places the provider name argument is also named component_name
or domain (this last is in lttng-gen-tp source code).
A related question is about the constraints on the "provider name"
given in the tracepoints definition file.
For instance, is it legit to have two files which define different
tracepoints with the same provider name, and with two distinct probes
Something like tp0.h:
More information about the lttng-dev