The bpf sample program trace_event is enhanced to use the new helper to print out enabled/running time.
Showing the changes to tools/include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -698,7 +698,8 @@ union bpf_attr { · 697 unmodified lines | ||
| 698 | 698 | FN(sk_redirect_map), \ |
| 699 | 699 | FN(sock_map_update), \ |
| 700 | 700 | FN(xdp_adjust_meta), \ |
| 701 | − FN(perf_event_read_value), | |
| 701 | + FN(perf_event_read_value), \ | |
| 702 | + FN(perf_prog_read_value), | |
| 702 | 703 | |
| 703 | 704 | /* integer value in 'imm' field of BPF_CALL instruction selects which helper |
| 704 | 705 | * function eBPF program intends to call |