projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35b70d0
)
libbpf-tools: minor fixes for readahead
author
Wenbo Zhang
<ethercflow@gmail.com>
Sun, 7 Feb 2021 02:09:40 +0000
(10:09 +0800)
committer
yonghong-song
<ys114321@gmail.com>
Sun, 7 Feb 2021 16:56:34 +0000
(08:56 -0800)
Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
libbpf-tools/readahead.c
patch
|
blob
|
history
diff --git
a/libbpf-tools/readahead.c
b/libbpf-tools/readahead.c
index 1b29b50f75e4b867ad60c8010a41021cd3e576b0..648784ed0b5d9cf7c5bcba54e17e42d23954cee5 100644
(file)
--- a/
libbpf-tools/readahead.c
+++ b/
libbpf-tools/readahead.c
@@
-85,8
+85,8
@@
static int readahead__set_attach_target(struct bpf_program *prog)
if (!err)
return 0;
- fprintf(stderr, "failed to set attach target
to
%s: %s\n",
- bpf_program__
section_
name(prog), strerror(-err));
+ fprintf(stderr, "failed to set attach target
for
%s: %s\n",
+ bpf_program__name(prog), strerror(-err));
return err;
}