[lttng-dev] Can TP_ARGS contain more than 10 elements?

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Nov 24 07:15:34 EST 2015


----- On Nov 24, 2015, at 1:23 AM, zhenyu.ren <zhenyu.ren at aliyun.com> wrote: 

> Hi,

> From man lttng-ust, I get "TP_ARGS macro contains the arguments passed for the
> tracepoint it is in the following format TP_ARGS(type1, name1, type2, name2,
> ... type10, name10) where there can be from zero to ten elements"

> Does anyone know is it possible to contain more than 10 elements in one TP_ARGS?
> If so ,how to do that ?

No, it is not possible. You may want to pass a structure instead. 

Thanks, 

Mathieu 

> Thanks in advance
> zhenyu.ren

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20151124/adfcd10d/attachment.html>


More information about the lttng-dev mailing list