This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug dyninst/15513] New: add a "runtime" preprocessor conditional
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 21 May 2013 19:22:10 +0000
- Subject: [Bug dyninst/15513] New: add a "runtime" preprocessor conditional
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15513
Bug #: 15513
Summary: add a "runtime" preprocessor conditional
Product: systemtap
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: dyninst
AssignedTo: systemtap@sourceware.org
ReportedBy: dsmith@redhat.com
Classification: Unclassified
It would be helpful when writing system scripts to have a preprocessor
conditional that would indicate the runtime in use. This would allow script
writers to do things like:
====
%( runtime == "linux" %?
# do something we can only do in kernel mode
%)
%( runtime == "dyninst" %?
# ...
%)
====
This would be most useful in conditionally including kernel probes, only if
we're using the linux runtime.
This would also be useful in writing test cases.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.