From: Craig Ringer <craig@2ndquadrant.com>
To: systemtap@sourceware.org
Subject: Re: SDTs with data types and argument names
Date: Fri, 20 Dec 2019 04:13:00 -0000 [thread overview]
Message-ID: <CAMsr+YG3Go9TX18ki0me313cOksPBfJf-_RFKVgo5NOUeyHc8g@mail.gmail.com> (raw)
In-Reply-To: <CAMsr+YHUT1z=WfX1p6EUSP8fG2N0ZDtgZcdPmRz_j4p-NKHPjQ@mail.gmail.com>
On Thu, 19 Dec 2019 at 11:00, Craig Ringer <craig@2ndquadrant.com> wrote:
>
> That is, unless there's some way we can escape the function scope in which
> the STAP_PROBEn(...) macro is invoked and define global symbols. I've asked
> for ideas about that here: https://stackoverflow.com/q/59402666/398670 .
>
Looks like that's quite practical using the existing .pushsection and
.popsection features used in the existing <sys/sdt.h>. If building without
__ASSEMBLER__ we would treat STAP_PROBEn_ARGINFO(...) the same as
STAP_PROBEn(...) i.e. not generate arg info. But we could still emit it for
probes defined via a probes.d .
Will try to find time to draft a patch. My first foray into asm and custom
ELF sections...
next prev parent reply other threads:[~2019-12-20 4:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-19 3:00 Craig Ringer
2019-12-20 4:13 ` Craig Ringer [this message]
2020-01-09 18:46 ` Frank Ch. Eigler
2020-01-13 5:28 ` Craig Ringer
2020-01-13 20:54 ` Frank Ch. Eigler
2020-01-13 21:08 ` Frank Ch. Eigler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMsr+YG3Go9TX18ki0me313cOksPBfJf-_RFKVgo5NOUeyHc8g@mail.gmail.com \
--to=craig@2ndquadrant.com \
--cc=systemtap@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).