1. 01 Feb, 2017 3 commits
  2. 31 Jan, 2017 10 commits
  3. 30 Jan, 2017 4 commits
  4. 29 Jan, 2017 2 commits
  5. 26 Jan, 2017 1 commit
  6. 24 Jan, 2017 2 commits
  7. 23 Jan, 2017 1 commit
    • Derek's avatar
      Handling multiple concurrent probe users. · 739581f8
      Derek authored
      Event naming pattern changed to $(eventname)_bcc_$(pid)
      Detect /sys/kernel/debug/tracing/instances in bpf_attach_probe,
      if it exist, then will per-instance event, if failed the make global
      event instance as same as before.
      739581f8
  8. 22 Jan, 2017 1 commit
  9. 21 Jan, 2017 2 commits
  10. 20 Jan, 2017 3 commits
  11. 17 Jan, 2017 9 commits
  12. 16 Jan, 2017 2 commits
    • 4ast's avatar
      Merge pull request #908 from Catalysts/cpu-iteration · 9367ea5c
      4ast authored
      fix iteration over CPUs
      9367ea5c
    • Andreas Gerstmayr's avatar
      fix iteration over CPUs · 7e0784d3
      Andreas Gerstmayr authored
      Since kernel version 4.9.0 BPF stopped working in a KVM guest.
      The problem are calls to perf_event_open with CPU identifiers which do
      not exist (ENODEV). The root cause for this is that the current code
      assumes ascending numbered CPUs. However, this is not always the case
      (e.g. CPU hotplugging).
      
      This patch introduces the get_online_cpus() and get_possible_cpus()
      helper functions and uses the appropriate function for iterations over
      CPUs. The BPF_MAP_TYPE_PERF_EVENT_ARRAY map contains now an entry for
      each possible CPU instead of for each online CPU.
      
      Fixes: #893
      Signed-off-by: default avatarAndreas Gerstmayr <andreas.gerstmayr@catalysts.cc>
      7e0784d3