* [Bug dyninst/15513] New: add a "runtime" preprocessor conditional
@ 2013-05-21 19:22 dsmith at redhat dot com
2013-05-22 15:52 ` [Bug dyninst/15513] " dsmith at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2013-05-21 19:22 UTC (permalink / raw)
To: systemtap
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug dyninst/15513] add a "runtime" preprocessor conditional
2013-05-21 19:22 [Bug dyninst/15513] New: add a "runtime" preprocessor conditional dsmith at redhat dot com
@ 2013-05-22 15:52 ` dsmith at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2013-05-22 15:52 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=15513
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from David Smith <dsmith at redhat dot com> 2013-05-22 15:52:15 UTC ---
Fixed in commit d9677d7. The new 'runtime' preprocessor will have the value of
'kernel' or 'dyninst'.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-22 15:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-21 19:22 [Bug dyninst/15513] New: add a "runtime" preprocessor conditional dsmith at redhat dot com
2013-05-22 15:52 ` [Bug dyninst/15513] " dsmith at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).