コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: symbolz.cs プロジェクト: zjmit/go2cs
 // 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)
コード例 #3
0
 // 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;