This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/19926] macro arguments can't be passed to embedded C code
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 08 Apr 2016 20:42:04 +0000
- Subject: [Bug translator/19926] macro arguments can't be passed to embedded C code
- Auto-submitted: auto-generated
- References: <bug-19926-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19926
--- Comment #2 from David Smith <dsmith at redhat dot com> ---
One (somewhat) hacky way to express constants more easily, would be to just
define a new annotation. In other words,
%{ /* constant */ FOO %}
could be the same thing as:
%{ /* pure */ /* unprivileged */ /* stable */ FOO %}
Another idea would be to be able to something like:
%{ /* pure-unprivileged-stable */ FOO %}
That last one is still a bit long, but better than 3 separate annotations.
--
You are receiving this mail because:
You are the assignee for the bug.