This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]