Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ebpf/src/perfeventarray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ PerfEventArray::PerfEventArray(std::size_t perf_event_output_page_exp)
}

d->perf_event_array_map = perf_event_array_map_exp.takeValue();
d->processor_count = static_cast<std::size_t>(get_nprocs_conf());
d->processor_count = static_cast<std::size_t>(get_nprocs());

for (auto cpu_index = 0U; cpu_index < d->processor_count; ++cpu_index) {
auto perf_event_output_exp = createPerfEventOutputForCPU(
Expand Down