summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
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/bpf/libbpf.c
parentMerge tag 'perf-core-for-mingo-4.14-20170821' of git://git.kernel.org/pub/scm... (diff)
parentRevert "pty: fix the cached path of the pty slave file descriptor in the master" (diff)
downloadlinux-93da8b221da95a97316e518c94f03856e5d610a9.tar.xz
linux-93da8b221da95a97316e518c94f03856e5d610a9.zip
Merge branch 'linus' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
-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);