summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-08-24 10:12:33 +0200
committerIngo Molnar <mingo@kernel.org>2017-08-24 10:12:33 +0200
commit93da8b221da95a97316e518c94f03856e5d610a9 (patch)
tree23787f3c0d02507f20d804aac23ef209d66a7586 /tools/lib
parentba63f76e22ee723819c8cec86b31f7ea3182b2ed (diff)
parent143c97cc652949893c8056c679012f0aeccb80e5 (diff)
downloadlinux-93da8b221da95a97316e518c94f03856e5d610a9.tar.bz2
Merge branch 'linus' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/bpf/libbpf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
index 1a2c07eb7795..8c67a90dbd82 100644
--- a/tools/lib/bpf/libbpf.c
+++ b/tools/lib/bpf/libbpf.c
@@ -879,7 +879,8 @@ bpf_object__create_maps(struct bpf_object *obj)
size_t j;
int err = *pfd;
- pr_warning("failed to create map: %s\n",
+ pr_warning("failed to create map (name: '%s'): %s\n",
+ obj->maps[i].name,
strerror(errno));
for (j = 0; j < i; j++)
zclose(obj->maps[j].fd);