Thread (35 messages) 35 messages, 2 authors, 2021-02-17

Re: [PATCH dwarves v3 1/5] btf_encoder: Funnel ELF error reporting through a macro

From: Andrii Nakryiko <hidden>
Date: 2021-02-08 22:22:16

On Fri, Feb 5, 2021 at 5:42 AM Giuliano Procida [off-list ref] wrote:
This adds elf_error which prepends error messages with the function
and appends a readable ELF error status.

Also capitalise ELF consistently in error messages.

Signed-off-by: Giuliano Procida <redacted>
---
Acked-by: Andrii Nakryiko <andrii@kernel.org>
quoted hunk ↗ jump to hunk
 libbtf.c | 34 +++++++++++++++++++---------------
 1 file changed, 19 insertions(+), 15 deletions(-)
diff --git a/libbtf.c b/libbtf.c
index 9f76283..7bc49ba 100644
--- a/libbtf.c
+++ b/libbtf.c
@@ -27,6 +27,16 @@
 #include "dwarves.h"
 #include "elf_symtab.h"
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help