sample-callstack ( sample -- array )


Vocabulary
tools.profiler.sampling

Inputs and outputs
samplea raw profile sample
arrayan array


Word description
Returns the callstack (the stack of functions currently executing) at the time of sample.

See also
total-sample-count, gc-sample-count, jit-sample-count, foreign-sample-count, foreign-thread-sample-count, sample-thread

Definition
USING: kernel sequences ;

IN: tools.profiler.sampling

: sample-callstack ( sample -- array ) 6 swap nth ;