Something went wrong. Try again.
Codec for the pprof sampled-profile format (profile.proto)
Something went wrong. Try again.
393 B · 15 lines
OCaml
at main
12345678910111213141516type t = { id : int64; name : string; system_name : string; filename : string; start_line : int64;}
let equal a b = Int64.equal a.id b.id && String.equal a.name b.name && String.equal a.system_name b.system_name && String.equal a.filename b.filename && Int64.equal a.start_line b.start_line
let pp ppf t = Fmt.pf ppf "#%Ld %s (%s:%Ld)" t.id t.name t.filename t.start_line