package magic-trace
Module Magic_trace_core.ElfSource
Returns name, address and filter string for using a symbol as a snapshot point.
The address is suitable for placing a breakpoint, and the filter string causes tracing to stop when executing code from that symbol. The filter string syntax is in ftrace format and is accepted both by the perf command line tool and the PERF_EVENT_IOC_SET_FILTER ioctl for the perf_event_open syscall.
Find function symbols matching a regex and return a map from symbol name to symbol suitable for asking the user to disambiguate.