Signed-off-by: Florian Weimer <fw@xxxxxxxxxxxxx> --- man7/bpf-helpers.7 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man7/bpf-helpers.7 b/man7/bpf-helpers.7 index 6f07f476e..0ac569c1d 100644 --- a/man7/bpf-helpers.7 +++ b/man7/bpf-helpers.7 @@ -1546,8 +1546,8 @@ Where t_enabled is the time enabled for event and t_running is the time running for event since last normalization. The enabled and running times are accumulated since the perf event open. To achieve scaling factor between two invocations of an -eBPF program, users can can use CPU id as the key (which is -typical for perf array usage model) to remember the previous +eBPF program, users can use the CPU id as the key (which is +typical for the perf array usage model) to remember the previous value and do the calculation inside the eBPF program. .TP .B Return @@ -1605,7 +1605,7 @@ the return value of the probed function, and to set it to \fIrc\fP\&. The first argument is the context \fIregs\fP on which the kprobe works. .sp -This helper works by setting setting the PC (program counter) +This helper works by setting the PC (program counter) to an override function which is run in place of the original probed function. This means the probed function is not run at all. The replacement function just returns with the required -- 2.20.1