- 16 Jan, 2017 1 commit
-
-
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:
Andreas Gerstmayr <andreas.gerstmayr@catalysts.cc>
-
- 29 Nov, 2016 1 commit
-
-
Teng Qin authored
-
- 03 Aug, 2015 3 commits
-
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Other commits to follow with cleanup of the code itself. Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 05 Jun, 2015 1 commit
-
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 02 May, 2015 1 commit
-
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 26 Apr, 2015 1 commit
-
-
Brenden Blanco authored
llvm-jit based parser and loader
-