This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/10466] stap -L misrepresents variables available to multi-probe aliases


------- Additional Comments From wenji dot huang at oracle dot com  2009-10-29 08:53 -------
Created an attachment (id=4336)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4336&action=view)
patch

It's difficult to discriminate between multi probes like signal.* and one name
with several expanded probe alias like signal.send. Moreover the variable list
is in string stream, to make intersection is a little arduous.

Maybe the following way can be a good choice.

$ ./stap -L signal.send
signal.send /* kernel.function("send_signal@kernel/signal.c:816") */
name:string shared:long sig:long task:long sinfo:long send2queue:long
sig_name:string sig_pid:long pid_name:string si_code:string $sig:int
$info:struct siginfo* $t:struct task_struct* $group:int $pending:struct
sigpending*

signal.send /* kernel.function("send_sigqueue@kernel/signal.c:1309") */ 
name:string task:long sig:long sinfo:long shared:long send2queue:long
sig_name:string sig_pid:long pid_name:string si_code:string $q:struct sigqueue*
$t:struct task_struct* $group:int $sig:int $flags:long unsigned int

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10466

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]