Skip to content

Commit a86857d

Browse files
Lin YikaiAlexei Starovoitov
authored andcommitted
bpftool: fix some typos in bpftool
Hi, fix some spelling errors in bpftool, the details are as follows: -in file "bpftool-gen.rst" libppf->libbpf -in the code comments: ouptut->output Signed-off-by: Lin Yikai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent 5db0ba6 commit a86857d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tools/bpf/bpftool/Documentation/bpftool-gen.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ bpftool gen skeleton *FILE*
104104

105105
- **example__load**.
106106
This function creates maps, loads and verifies BPF programs, initializes
107-
global data maps. It corresponds to libppf's **bpf_object__load**\ ()
107+
global data maps. It corresponds to libbpf's **bpf_object__load**\ ()
108108
API.
109109

110110
- **example__open_and_load** combines **example__open** and

tools/bpf/bpftool/feature.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ static void probe_unprivileged_disabled(void)
196196
{
197197
long res;
198198

199-
/* No support for C-style ouptut */
199+
/* No support for C-style output */
200200

201201
res = read_procfs("/proc/sys/kernel/unprivileged_bpf_disabled");
202202
if (json_output) {
@@ -225,7 +225,7 @@ static void probe_jit_enable(void)
225225
{
226226
long res;
227227

228-
/* No support for C-style ouptut */
228+
/* No support for C-style output */
229229

230230
res = read_procfs("/proc/sys/net/core/bpf_jit_enable");
231231
if (json_output) {
@@ -255,7 +255,7 @@ static void probe_jit_harden(void)
255255
{
256256
long res;
257257

258-
/* No support for C-style ouptut */
258+
/* No support for C-style output */
259259

260260
res = read_procfs("/proc/sys/net/core/bpf_jit_harden");
261261
if (json_output) {
@@ -285,7 +285,7 @@ static void probe_jit_kallsyms(void)
285285
{
286286
long res;
287287

288-
/* No support for C-style ouptut */
288+
/* No support for C-style output */
289289

290290
res = read_procfs("/proc/sys/net/core/bpf_jit_kallsyms");
291291
if (json_output) {
@@ -311,7 +311,7 @@ static void probe_jit_limit(void)
311311
{
312312
long res;
313313

314-
/* No support for C-style ouptut */
314+
/* No support for C-style output */
315315

316316
res = read_procfs("/proc/sys/net/core/bpf_jit_limit");
317317
if (json_output) {

0 commit comments

Comments
 (0)