Also show the time spent in userland when analyzing the kernel stack
authorbluhm <bluhm@openbsd.org>
Mon, 28 Jun 2021 08:55:06 +0000 (08:55 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 28 Jun 2021 08:55:06 +0000 (08:55 +0000)
commit1897e8bfd345c6816359ecd644ffaf0de17acb23
tree2665f8d10bdfb5b6f952ce86c5594b2e93c2abfc
parent8f9b2a9c085d9b3c9cd542c4ae072cd540cd99be
Also show the time spent in userland when analyzing the kernel stack
in flame graph.  Only when both kernel and userland are displayed,
the whole picture of system activity becomes clear.  Fixes a parsing
bug in the flame graph tool where userland time was interpreted as
invalid kernel stack.
OK kn@
usr.sbin/btrace/btrace.c