From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugene.Ivanov@orc-group.com (Eugene Ivanov) Date: Thu, 4 Jun 2015 10:39:12 +0300 Subject: [lttng-dev] Runtime issue with mismatched arg name in TRACEPOINT_EVENT_INSTANCE and TRACEPOINT_EVENT_CLASS Message-ID: <557000A0.2010206@orc-group.com> Hi, Recently I've used different names for the argument in TRACEPOINT_EVENT_INSTANCE and TRACEPOINT_EVENT_CLASS. Everything compiles, the probe is registered, but can't be activated. __tracepoint_provider___probe.state is always 0 despite whatever is shown in 'lttng list session_name'. In this case I would expect compilation failure. Probes example, note some_id and MISMATCHED_id: TRACEPOINT_EVENT_CLASS(hello, myclass, TP_ARGS(const unsigned long *, some_id), TP_FIELDS(ctf_array(unsigned long, some_identifier, some_id, 2))) TRACEPOINT_EVENT_INSTANCE(hello, myclass, probe_name, TP_ARGS(const unsigned long *, MISMATCHED_id)) -- Eugene Ivanov ________________________________ This e-mail is confidential and may contain legally privileged information. It is intended only for the addressees. If you have received this e-mail in error, kindly notify us immediately by telephone or e-mail and delete the message from your system.