From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2FE9339DC4CA; Mon, 18 Jan 2021 03:59:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2FE9339DC4CA From: "craig.ringer at 2ndquadrant dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/27187] Introduce user_buffer_hex and kernel_buffer_hex helpers in conversions tapsets Date: Mon, 18 Jan 2021 03:59:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: craig.ringer at 2ndquadrant dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2021 03:59:23 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27187 --- Comment #2 from Craig Ringer --- Created attachment 13131 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D13131&action=3Ded= it Docs x-ref for %.*M etc Well, now I feel really, really dumb. Oh well, I learned some useful things. Replacement patch attached that points this out in the docs for user_buffer_quoted() and user_string(). I took a quick look to see if I could work out how to create a function::pr= intf and function::sprintf manpage to x-ref the stap(1) content, but didn't work= out a way to do so without injecting a tapset function for printf and sprintf. I guess I could put them in a dummy tapset with no actual definitions or we= dge them into uconversions.stp, but neither seems very pretty. Anyway, docs patch attached. I'll confirm whether it can fully replace my u= se of user_buffer_hex. --=20 You are receiving this mail because: You are the assignee for the bug.=