• Hana Kim's avatar
    cmd/trace: pprof computation for span types · 95e6a9fc
    Hana Kim authored
    /spanio, /spanblock, /spansched, /spansyscall provide
    the pprof-style summary of span execution's
    io, block, scheduling, syscall latency distributions
    respectively.
    
    The computation logic for /io, /block, /sched, /syscall
    analysis was refactored and extended for reuse in these
    new types of analysis. Upon the analysis query, we create
    a map of goroutine id to time intervals based on the query
    parameter, that represents the interesting time intervals
    of matching goroutines. Only the events from the matching
    goroutines that fall into the intervals are considered
    in the pprof computation.
    
    The new endpoints are not yet hooked into other span
    analysis page (e.g. /userspan) yet.
    
    Change-Id: I80c3396e45a2d6631758710de67d132e5832c7ce
    Reviewed-on: https://go-review.googlesource.com/105822Reviewed-by: 's avatarHeschi Kreinick <heschi@google.com>
    Run-TryBot: Heschi Kreinick <heschi@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    95e6a9fc
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...