1. 12 Oct, 2023 2 commits
  2. 11 Oct, 2023 3 commits
  3. 09 Oct, 2023 7 commits
  4. 06 Oct, 2023 8 commits
  5. 04 Oct, 2023 17 commits
  6. 29 Sep, 2023 1 commit
  7. 28 Sep, 2023 1 commit
  8. 25 Sep, 2023 1 commit
    • Andrii Nakryiko's avatar
      Merge branch 'bpf: Add missed stats for kprobes' · 0e73ef1d
      Andrii Nakryiko authored
      Jiri Olsa says:
      
      ====================
      hi,
      at the moment we can't retrieve the number of missed kprobe
      executions and subsequent execution of BPF programs.
      
      This patchset adds:
        - counting of missed execution on attach layer for:
          . kprobes attached through perf link (kprobe/ftrace)
          . kprobes attached through kprobe.multi link (fprobe)
        - counting of recursion_misses for BPF kprobe programs
      
      It's still technically possible to create kprobe without perf link (using
      SET_BPF perf ioctl) in which case we don't have a way to retrieve the kprobe's
      'missed' count. However both libbpf and cilium/ebpf libraries use perf link
      if it's available, and for old kernels without perf link support we can use
      BPF program to retrieve the kprobe missed count.
      
      v3 changes:
        - added acks [Song]
        - make test_missed not serial [Andrii]
      
      Also available at:
        https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
        bpf/missed_stats
      
      thanks,
      jirka
      ====================
      Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
      0e73ef1d