[Bug dyninst/14626] New: The systemtap failed to catch the user_process $$parms and variety in Ubuntu 12.10 Beta
xiaoningyb at gmail dot com
sourceware-bugzilla@sourceware.org
Wed Sep 26 02:58:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14626
Bug #: 14626
Summary: The systemtap failed to catch the user_process $$parms
and variety in Ubuntu 12.10 Beta
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: dyninst
AssignedTo: systemtap@sourceware.org
ReportedBy: xiaoningyb@gmail.com
Classification: Unclassified
Platform:
Linux ubuntu 3.5.0-13-generic #14-Ubuntu SMP Wed Aug 29 16:48:44 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
Systemtap:
Systemtap translator/driver (version 2.0/0.153, commit
release-1.8-244-gec12f84)
Descript:
I compile the systemtap from git source. Everything works well except catch the
$$parms and variety in user_proccess.
Source:
#include <iostream>
int func(int i, int j)
{
std::cout<<i<<std::endl;
return i;
}
int main()
{
func(3, 5);
func(1, 2);
return 0;
}
Command:
sudo stap -d /lib/x86_64-linux-gnu/libc-2.15.so -ve 'probe
process("a.out").function("func") {log($$parms); printf("i = %ld and j =
%ld\n",$i, $j)}'
Expect output:
i=3 j=5
i = 3 and j = 5
i=1 j=2
i = 1 and j = 2
Output:
i=0x0 j=0x400700
i = 0 and j = 4196096
i=0x3 j=0x5
i = 3 and j = 5
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list