[Bug bpf/22330] bpf: generate printf via event tuples, userspace formatting postprocessing

me at serhei dot io sourceware-bugzilla@sourceware.org
Mon Aug 20 15:58:00 GMT 2018


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

--- Comment #2 from Serhei Makarov <me at serhei dot io> ---
As part of the reworking of printf() on stapbpf, large printf() invocations
should also be split up into a series of manageable ones. The following example
should work:

probe kernel.trace("netif_receive_skb"), kernel.trace("netif_rx"),
  kernel.trace("net_dev_queue"), kernel.trace("napi_gro_receive_entry") {
  printf("vars %s\n", $$vars);
}

Currently it fails with "too many arguments to print (19)".

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


More information about the Systemtap mailing list