public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug documentation/27186] New: Document CONTEXT variable in embedded C docs
@ 2021-01-15  1:55 craig.ringer at 2ndquadrant dot com
  2021-01-15  1:56 ` [Bug documentation/27186] " craig.ringer at 2ndquadrant dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: craig.ringer at 2ndquadrant dot com @ 2021-01-15  1:55 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=27186

            Bug ID: 27186
           Summary: Document CONTEXT variable in embedded C docs
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: documentation
          Assignee: systemtap at sourceware dot org
          Reporter: craig.ringer at 2ndquadrant dot com
  Target Milestone: ---

This small docs patch adds mention of the CONTEXT var for embedded C and where
it's defined.

It also mentions that you can use embedded C rvalues in stap macro definitions.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug documentation/27186] Document CONTEXT variable in embedded C docs
  2021-01-15  1:55 [Bug documentation/27186] New: Document CONTEXT variable in embedded C docs craig.ringer at 2ndquadrant dot com
@ 2021-01-15  1:56 ` craig.ringer at 2ndquadrant dot com
  2021-01-15 23:04 ` fche at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: craig.ringer at 2ndquadrant dot com @ 2021-01-15  1:56 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=27186

Craig Ringer <craig.ringer at 2ndquadrant dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug documentation/27186] Document CONTEXT variable in embedded C docs
  2021-01-15  1:55 [Bug documentation/27186] New: Document CONTEXT variable in embedded C docs craig.ringer at 2ndquadrant dot com
  2021-01-15  1:56 ` [Bug documentation/27186] " craig.ringer at 2ndquadrant dot com
@ 2021-01-15 23:04 ` fche at redhat dot com
  2021-01-18  3:29 ` craig.ringer at 2ndquadrant dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fche at redhat dot com @ 2021-01-15 23:04 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=27186

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
                 CC|                            |fche at redhat dot com
   Last reconfirmed|                            |2021-01-15

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
forgot to attach!

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug documentation/27186] Document CONTEXT variable in embedded C docs
  2021-01-15  1:55 [Bug documentation/27186] New: Document CONTEXT variable in embedded C docs craig.ringer at 2ndquadrant dot com
  2021-01-15  1:56 ` [Bug documentation/27186] " craig.ringer at 2ndquadrant dot com
  2021-01-15 23:04 ` fche at redhat dot com
@ 2021-01-18  3:29 ` craig.ringer at 2ndquadrant dot com
  2021-01-25 22:56 ` fche at redhat dot com
  2021-01-29 11:17 ` craig.ringer at 2ndquadrant dot com
  4 siblings, 0 replies; 6+ messages in thread
From: craig.ringer at 2ndquadrant dot com @ 2021-01-18  3:29 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=27186

--- Comment #2 from Craig Ringer <craig.ringer at 2ndquadrant dot com> ---
Created attachment 13130
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13130&action=edit
document CONTEXT var in embedded C

Had an issue submitting, apparently ate the attachment when resubmitting.
Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug documentation/27186] Document CONTEXT variable in embedded C docs
  2021-01-15  1:55 [Bug documentation/27186] New: Document CONTEXT variable in embedded C docs craig.ringer at 2ndquadrant dot com
                   ` (2 preceding siblings ...)
  2021-01-18  3:29 ` craig.ringer at 2ndquadrant dot com
@ 2021-01-25 22:56 ` fche at redhat dot com
  2021-01-29 11:17 ` craig.ringer at 2ndquadrant dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fche at redhat dot com @ 2021-01-25 22:56 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=27186

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
Craig, thanks, but I'm hesitant to even mention CONTEXT in the embedded-C
section.  The [man stap] page identifies all the data values/macros we intend
to give access (parameters, return values, error buffer).  Did we overlook
something important?

Regarding the possibility of embedded-C expressions in macros ... it's just a
normal composition of features, not a special case.  But sure, can add this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug documentation/27186] Document CONTEXT variable in embedded C docs
  2021-01-15  1:55 [Bug documentation/27186] New: Document CONTEXT variable in embedded C docs craig.ringer at 2ndquadrant dot com
                   ` (3 preceding siblings ...)
  2021-01-25 22:56 ` fche at redhat dot com
@ 2021-01-29 11:17 ` craig.ringer at 2ndquadrant dot com
  4 siblings, 0 replies; 6+ messages in thread
From: craig.ringer at 2ndquadrant dot com @ 2021-01-29 11:17 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=27186

--- Comment #4 from Craig Ringer <craig.ringer at 2ndquadrant dot com> ---
Fair enough.

Perhaps a comment on the stap source that handles injection of CONTEXT that
points to the relevant header then?

It was interesting working out where it all came from. Especially since a name
like "context" isn't super grep-able.

I agree the macro expansion of embedded C is fairly obvious. I wouldn't have
bothered with just that.

So - abandoned.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-29 11:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15  1:55 [Bug documentation/27186] New: Document CONTEXT variable in embedded C docs craig.ringer at 2ndquadrant dot com
2021-01-15  1:56 ` [Bug documentation/27186] " craig.ringer at 2ndquadrant dot com
2021-01-15 23:04 ` fche at redhat dot com
2021-01-18  3:29 ` craig.ringer at 2ndquadrant dot com
2021-01-25 22:56 ` fche at redhat dot com
2021-01-29 11:17 ` craig.ringer at 2ndquadrant 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).