* [Bug translator/19110] New: make it easier to know if the kernel exports a particular function
@ 2015-10-09 18:30 dsmith at redhat dot com
2024-02-21 13:04 ` [Bug translator/19110] " fche at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2015-10-09 18:30 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=19110
Bug ID: 19110
Summary: make it easier to know if the kernel exports a
particular function
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: dsmith at redhat dot com
Target Milestone: ---
When working on bug #6525, I needed to know whether a certain kernel function
is exported or not. Currently, the way you do this is by adding a new
'exportconf' test in the translator source, which requires recompiling the
translator.
I wonder if we could somehow handle this differently, so that recompiling the
translator isn't required. For runtime C code use, a brute force approach would
be to just add a #define for everything that is exported:
#define STAPCONF_FOO_EXPORTED
#define STAPCONF_BAR_EXPORTED
etc.
For bonus points, we could provide a preprocessor directive, perhaps something
like:
%(exported("foo") %?
...
%)
Although off the top of my head I can't really think of a use for knowing if a
kernel function is exported in systemtap script code.
--
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:[~2024-02-21 13:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-09 18:30 [Bug translator/19110] New: make it easier to know if the kernel exports a particular function dsmith at redhat dot com
2024-02-21 13:04 ` [Bug translator/19110] " fche 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).