Home | History | Annotate | Download | only in xray

Lines Matching defs:stack_depth

83   uint32_t stack_depth;
329 uint32_t depth = capture->stack_depth;
340 ++capture->stack_depth;
355 --capture->stack_depth;
356 if (capture->stack_depth < capture->max_stack_depth) {
357 uint32_t depth = capture->stack_depth;
424 int depth = capture->stack_depth - 1;
456 int depth = capture->stack_depth - 1;
487 capture->stack_depth = 0;
500 void XRaySetMaxStackDepth(struct XRayTraceCapture* capture, int stack_depth) {
504 if (stack_depth < 1)
505 stack_depth = 1;
506 if (stack_depth >= XRAY_TRACE_STACK_SIZE)
507 stack_depth = (XRAY_TRACE_STACK_SIZE - 1);
508 capture->max_stack_depth = stack_depth;
604 capture->stack_depth = 1;
632 assert(1 == capture->stack_depth);
673 assert(1 == capture->stack_depth);
713 struct XRayTraceCapture* XRayInit(int stack_depth,
741 XRaySetMaxStackDepth(capture, stack_depth);