https://sourceware.org/bugzilla/show_bug.cgi?id=29150
Bug ID: 29150 Summary: Would be useful to have a filter in eu-readelf like --name=<function> Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: tools Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- Copied from https://bugzilla.redhat.com/show_bug.cgi?id=1980026 For large executables like the linux kernel the human readable output of eu-readelf could be in the gigabytes. llvm-dwarfdump has --name=<symbol_name> that allows the output to be limited to just DIEs with that symbol name. So to see the DIEs and their children (-c) of function trace_event_name for kernel can do the following which is about 40K of output: llvm-dwarfdump -c --name=trace_event_name /usr/lib/debug/lib/modules/5.12.7-300.fc34.x86_64/vmlinux > trace_event_name.dwarf Much easier to inspect 40KB of text than 4.8GB of the entire output from llvm-dwarfdump. Would be nice if eu-readelf had similar filter for --debug-dump=info and ability to select whether to print children DIEs. Documentation about the llvm-dwarfdump options is at https://llvm.org/docs/CommandGuide/llvm-dwarfdump.html . -- You are receiving this mail because: You are on the CC list for the bug.