public profileSource(@string addr = default, ref ptr <source> source = default, ref ptr <profile.Profile> p = default, plugin.MappingSources msrc = default, bool remote = default, error err = default) { this.addr = addr; this.source = source; this.p = p; this.msrc = msrc; this.remote = remote; this.err = err; }
// Symbolize symbolizes profile p by parsing data returned by a symbolz // handler. syms receives the symbolz query (hex addresses separated by '+') // and returns the symbolz output in a string. If force is false, it will only // symbolize locations from mappings not already marked as HasFunctions. Never // attempts symbolization of addresses from unsymbolizable system // mappings as those may look negative - e.g. "[vsyscall]". public static error Symbolize(ptr <profile.Profile> _addr_p, bool force, plugin.MappingSources sources, Func <@string, @string, (slice <byte>, error)> syms, plugin.UI ui)
// Symbolize attempts to symbolize profile p. First uses binutils on // local binaries; if the source is a URL it attempts to get any // missed entries using symbolz. private static error Symbolize(this ptr <Symbolizer> _addr_s, @string mode, plugin.MappingSources sources, ptr <profile.Profile> _addr_p) { ref Symbolizer s = ref _addr_s.val;