public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug bpf/23474] New: bpf kernel_string(), user_string() tapset
@ 2018-08-01 18:47 me at serhei dot io
  2018-09-20  0:46 ` [Bug bpf/23474] " me at serhei dot io
  0 siblings, 1 reply; 2+ messages in thread
From: me at serhei dot io @ 2018-08-01 18:47 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 23474
           Summary: bpf kernel_string(), user_string() tapset
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bpf
          Assignee: systemtap at sourceware dot org
          Reporter: me at serhei dot io
  Target Milestone: ---

From the 'language features' brainstorm:

# Loading kernel_string(addr) or user_string(addr) onto the stack

offset = 80
unrolled loop {
   *(u64 *)(r10-offset) = *(u64 *)addr
   addr += 8; offset -= 8
} until '\0' encountered or BPF_MAXSTRINGLEN bytes copied

/* loading kernel_string(addr) or user_string(addr) into an eBPF map is similar
*/

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

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

* [Bug bpf/23474] bpf kernel_string(), user_string() tapset
  2018-08-01 18:47 [Bug bpf/23474] New: bpf kernel_string(), user_string() tapset me at serhei dot io
@ 2018-09-20  0:46 ` me at serhei dot io
  0 siblings, 0 replies; 2+ messages in thread
From: me at serhei dot io @ 2018-09-20  0:46 UTC (permalink / raw)
  To: systemtap

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

Serhei Makarov <me at serhei dot io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|systemtap at sourceware dot org    |me at serhei dot io

-- 
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:[~2018-09-20  0:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-01 18:47 [Bug bpf/23474] New: bpf kernel_string(), user_string() tapset me at serhei dot io
2018-09-20  0:46 ` [Bug bpf/23474] " me at serhei dot io

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).