+1
−0
+1
−0
+33
−15
+31
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
According to the perf_event_map_fd and index, the function bpf_perf_event_read() can convert the corresponding map value to the pointer to struct perf_event and return the Hardware PMU counter value. Signed-off-by:Kaixu Xia <xiakaixu@huawei.com> Signed-off-by:
David S. Miller <davem@davemloft.net>