xdp-project / xdp-tutorial

XDP tutorial
2.33k stars 562 forks source link

correction to example code for basic03 #365

Closed carltimmer closed 4 months ago

carltimmer commented 11 months ago

On the following page: https://github.com/xdp-project/xdp-tutorial/tree/master/basic03-map-counter

The example code at the very end of the page should have libbpf_num_possible_cpus instead of bpf_num_possible_cpus

or it won't compile.