Fix: forwarding of call_site argument to field
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mathieu Desnoyers
Appliedmerged, thanks!
Mathieu
Quoted 50 lines · * Woegerer, Paul ([email protected]) wrote:
I ran some tests with the new function entry/exit instrumentations.
The tracepoint provider for lttng_ust_cyg_profile:func_entry and
func_exitdoes not properly forward thecall_siteargument to thecall_sitefield. The patch below fixes the problem.From
c2891f8d78922170175d05a03253dcd418182868Mon Sep 17 00:00:00 2001
From: Paul Woegerer <[email protected]>
Date: Wed, 27 Mar 2013 14:34:35 +0100
Subject: [PATCH] Fix forwarding ofcall_siteargument to field--- liblttng-ust-cyg-profile/lttng-ust-cyg-profile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)liblttng-ust-cyg-profile/lttng-ust-cyg-profile.h +2
-2@@ -36,7 +36,7 @@ TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_entry, TP_ARGS(void *, func_addr, void *, call_site),TP_FIELDS (ctf_integer_hex (void *,addr ,func_addr ) - ctf_integer_hex(void *, call_site, func_addr) + ctf_integer_hex(void *, call_site, call_site) ) )@@ -47,7 +47,7 @@ TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_exit, TP_ARGS(void *, func_addr, void *, call_site),TP_FIELDS (ctf_integer_hex (void *,addr ,func_addr ) - ctf_integer_hex(void *, call_site, func_addr) + ctf_integer_hex(void *, call_site, call_site) ) )Signature · 11 lines
1.7.10.4 -- Paul Woegerer | SW Development Engineer http://go.mentor.com/sourceryanalyzer Mentor Embedded(tm) | Prinz Eugen Straße 72/2/4, Vienna, 1040 Austria Nucleus® | Linux® | Android(tm) | Services | UI | Multi-OS Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com