OSDN Git Service

perf bpf-loader: Fix debugging message typo
authorIngo Molnar <mingo@kernel.org>
Mon, 3 Dec 2018 10:22:00 +0000 (11:22 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Dec 2018 17:56:39 +0000 (14:56 -0300)
Go over the tools/ files that are maintained in Arnaldo's tree and
fix common typos: half of them were in comments, the other half
in JSON files.

No change in functionality intended.

Committer notes:

This was split from a larger patch as there are code that is,
additionally, maintained outside the kernel tree, so to ease cherry
picking and/or backporting, split this into multiple patches.

This one has information that is presented to the user, albeit in debug
mode.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/20181203102200.GA104797@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/bpf-loader.c

index 9a28064..2f3eb6d 100644 (file)
@@ -99,7 +99,7 @@ struct bpf_object *bpf__prepare_load(const char *filename, bool source)
                        if (err)
                                return ERR_PTR(-BPF_LOADER_ERRNO__COMPILE);
                } else
-                       pr_debug("bpf: successfull builtin compilation\n");
+                       pr_debug("bpf: successful builtin compilation\n");
                obj = bpf_object__open_buffer(obj_buf, obj_buf_sz, filename);
 
                if (!IS_ERR_OR_NULL(obj) && llvm_param.dump_obj)