changeset 1733:bcdcc12c519e

Fix hotspot tapset object_alloc size variable. Reported by William Cohen <wcohen@redhat.com> * tapset/hotspot.stp.in (object_alloc): size is arg4, not arg3.
author Mark Wielaard <mark@klomp.org>
date Tue, 13 Jul 2010 11:46:10 +0200
parents caa873752fc9
children 18fa77d40df5
files ChangeLog tapset/hotspot.stp.in
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jul 16 17:25:03 2010 +0100
+++ b/ChangeLog	Tue Jul 13 11:46:10 2010 +0200
@@ -1,3 +1,8 @@
+2010-07-13  Mark Wielaard  <mjw@redhat.com>
+
+	Reported by William Cohen <wcohen@redhat.com>
+	* tapset/hotspot.stp.in (object_alloc): size is arg4, not arg3.
+
 2010-07-15  Deepak Bhole <dbhole@redhat.com>
 
 	* patches/openjdk/6678385.patch: New file. Backpatched from jdk7 for
--- a/tapset/hotspot.stp.in	Fri Jul 16 17:25:03 2010 +0100
+++ b/tapset/hotspot.stp.in	Tue Jul 13 11:46:10 2010 +0200
@@ -120,7 +120,7 @@
   name = "object_alloc";
   thread_id = $arg1;
   class = user_string_n($arg2, $arg3);
-  size = $arg3;
+  size = $arg4;
   probestr = sprintf("%s(thread_id=%d,class='%s',size=0x%x)",
                      name, thread_id, class, size);
 }