1. 29 Jul, 2022 8 commits
  2. 28 Jul, 2022 1 commit
    • Daniel Müller's avatar
      libbpf: Support PPC in arch_specific_syscall_pfx · 64893e83
      Daniel Müller authored
      Commit 708ac5be ("libbpf: add ksyscall/kretsyscall sections support
      for syscall kprobes") added the arch_specific_syscall_pfx() function,
      which returns a string representing the architecture in use. As it turns
      out this function is currently not aware of Power PC, where NULL is
      returned. That's being flagged by the libbpf CI system, which builds for
      ppc64le and the compiler sees a NULL pointer being passed in to a %s
      format string.
      With this change we add representations for two more architectures, for
      Power PC and Power PC 64, and also adjust the string format logic to
      handle NULL pointers gracefully, in an attempt to prevent similar issues
      with other architectures in the future.
      
      Fixes: 708ac5be ("libbpf: add ksyscall/kretsyscall sections support for syscall kprobes")
      Signed-off-by: default avatarDaniel Müller <deso@posteo.net>
      Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
      Link: https://lore.kernel.org/bpf/20220728222345.3125975-1-deso@posteo.net
      64893e83
  3. 27 Jul, 2022 3 commits
  4. 26 Jul, 2022 18 commits
  5. 25 Jul, 2022 10 commits