History

bpf: fix typo in header for bpf_perf_prog_read_value

Fix a simple typo in the documentation for bpf_perf_prog_read_value.

Florian Lehner committed 3 years ago

Commit 17c9b4e1 parent 16c294a2 files · +2 −2Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/bpf.h+1−1
@@ -2801,7 +2801,7 @@ union bpf_attr { · 2800 unmodified lines
2801 *2801 *
2802 * long bpf_perf_prog_read_value(struct bpf_perf_event_data *ctx, struct bpf_perf_event_value *buf, u32 buf_size)2802 * long bpf_perf_prog_read_value(struct bpf_perf_event_data *ctx, struct bpf_perf_event_value *buf, u32 buf_size)
2803 * Description2803 * Description
2804 * For en eBPF program attached to a perf event, retrieve the2804 * For an eBPF program attached to a perf event, retrieve the
2805 * value of the event counter associated to *ctx* and store it in2805 * value of the event counter associated to *ctx* and store it in
2806 * the structure pointed by *buf* and of size *buf_size*. Enabled2806 * the structure pointed by *buf* and of size *buf_size*. Enabled
2807 * and running times are also stored in the structure (see2807 * and running times are also stored in the structure (see

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t