Skip to content
Snippets Groups Projects
  1. May 28, 2019
  2. Feb 27, 2019
  3. Feb 03, 2019
    • Xiaozhou Liu's avatar
      examples/tracing: some minor fixes · 922f1ab4
      Xiaozhou Liu authored
      - chmod +x dddos.py mallocstacks.py stack_buildid_example.py
      - Handle Ctrl-C keyboard interrupt for dddos.py, disksnoop.py,
        hello_perf_output.py, stacksnoop.py and trace_perf_output.py
      922f1ab4
  4. Jan 16, 2019
  5. Jan 03, 2019
  6. Jul 24, 2016
  7. Nov 04, 2015
  8. Sep 16, 2015
  9. Sep 09, 2015
  10. Sep 06, 2015
  11. Sep 05, 2015
  12. Sep 03, 2015
  13. Aug 26, 2015
  14. Aug 19, 2015
    • Brenden Blanco's avatar
      Change API of attach_kprobe to take a name argument · 5eef65e6
      Brenden Blanco authored
      
      Per feedback on the attach_kprobe api, change up the arguments to remove
      the load_func that typically preceeds the call. Instead, move this
      inside the attach_kprobe implementation. Also, this makes attach_kprobe
      need to be non-static. The same applies to attach_kretprobe.
      
      Old:
      fn = b.load_func("hello", BPF.KPROBE)
      BPF.attach_kprobe(fn, "sys_clone")
      
      New:
      b.attach_kprobe(event="sys_clone", fn_name="hello")
      
      Note that the kwarg style is not required, but I fixed up the current
      usages to provide readability.
      
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      5eef65e6
  15. Aug 18, 2015
Loading