This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10495] New: Allow multiple, same name, probe point alias alternatives
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 7 Aug 2009 09:18:06 -0000
- Subject: [Bug translator/10495] New: Allow multiple, same name, probe point alias alternatives
- Reply-to: sourceware-bugzilla at sourceware dot org
Currently the following isn't allowed:
probe memory_hog = process("alpha").function("allocated_huge") ?
{
hogger = "alpha";
}
probe memory_hog = process("beta").function("allocated_giant") ?
{
hogger = "beta";
}
semantic error: duplicate probe point pattern while registering probe alias
memory_hog = process("beta").function("allocated_giant")
You could write it as:
probe memory_hog = process("a").function("alpha") ?,
process("beta").function("allocated_giant") ?
{
hogger = "alpha or beta";
}
But that has two drawbacks. First you cannot easily set the hogger variable.
Second you cannot use this pattern if your tapset is split over multiple files.
--
Summary: Allow multiple, same name, probe point alias
alternatives
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mjw at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10495
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.