Thanks Brenden!
I'm working with your branch for now. Additionally, I'm unable to
create software events (see exception below). Just wanted to bring
this to your attention.
Traceback (most recent call last):
File "./test_bpf.py", line 176, in
sw_clock.open_perf_event(1, 0)
File "/usr/l
On Fri, Jul 29, 2016 at 10:21 AM, riya khanna
wrote:
> I'm testing perf counters on a 8-core machine.
>
> since BPF_PERF_ARRAY.perf_read(cpu) reads from local CPU, I'm
> aggregating counters across all cpus by doing:
>
> BPF_PERF_ARRAY(counter, 32);
>
> for (key = 0; key < 8; key++)
> counter
I'm testing perf counters on a 8-core machine.
since BPF_PERF_ARRAY.perf_read(cpu) reads from local CPU, I'm
aggregating counters across all cpus by doing:
BPF_PERF_ARRAY(counter, 32);
for (key = 0; key < 8; key++)
counter.perf_read(key);
However, this reports error:
bpf: Invalid argument
Hi Brenden & Kyle,
Thanks very much for your kind reply!
I decide to download clang && LLVM source code (v3.8.1), and build it
myself. The LLVM build process is smooth, while compiling clang, it is
hang, and seems dead-lock (I am not sure):
[ 91%] Built target clangFormat
[ 92%] Built target dia