Re: [RFC PATCH v3 11/37] bpf tools: Iterate over ELF sections to collect information

From: Alexei Starovoitov
Date: Mon May 18 2015 - 14:21:32 EST


On 5/17/15 3:56 AM, Wang Nan wrote:
bpf_obj_elf_collect() is introduced to iterate over each elf sections
to collection informations in eBPF object files. This function will
futher enhanced to collect license, kernel version, programs, configs
and map information.

Signed-off-by: Wang Nan <wangnan0@xxxxxxxxxx>
...
+ if (gelf_getshdr(scn, &sh) != &sh) {
+ pr_warning("failed to get section header"
+ " from %s\n", obj->path);

please don't wrap strings.
Here and in all other patches.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/