From mboxrd@z Thu Jan 1 00:00:00 1970 From: francis.giraldeau@gmail.com (Francis Giraldeau) Date: Fri, 30 Aug 2013 23:59:59 -0400 Subject: [lttng-dev] [RFC] User space stack trace on system calls In-Reply-To: <52216536.40709@gmail.com> References: <52216536.40709@gmail.com> Message-ID: <52216A3F.8000200@gmail.com> On 2013-08-30 23:38, Francis Giraldeau wrote : > We actually > found a way to insert code inside the probe with code blocks that > returns a value. Thanks to Simon Marchi for this C trick! Well, it turns out that the function save_stack_trace_user() is called even when the tracepoint is not enabled, so this is a major issue. Hum... Then why does it work for UST tracepoint macro? Cheers, Francis