aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <[email protected]>2018-02-08 11:48:17 +0000
committerDaniel Borkmann <[email protected]>2018-02-08 23:24:38 +0000
commit077c066a6c5445423147496e6c9b9a2c2d2ee762 (patch)
tree9e1fbf72eea030e467249b7d4ff385b8bf476f2c /drivers/fpga/fpga-mgr.c
parentbpf: Sync kernel ABI header with tooling header for bpf_common.h (diff)
downloadkernel-077c066a6c5445423147496e6c9b9a2c2d2ee762.tar.gz
kernel-077c066a6c5445423147496e6c9b9a2c2d2ee762.zip
tools/libbpf: improve the pr_debug statements to contain section numbers
While debugging a bpf ELF loading issue, I needed to correlate the ELF section number with the failed relocation section reference. Thus, add section numbers/index to the pr_debug. In debug mode, also print section that were skipped. This helped me identify that a section (.eh_frame) was skipped, and this was the reason the relocation section (.rel.eh_frame) could not find that section number. The section numbers corresponds to the readelf tools Section Headers [Nr]. Signed-off-by: Jesper Dangaard Brouer <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions