diff options
Diffstat (limited to 'src/mds-kbdc/call-stack.h')
-rw-r--r-- | src/mds-kbdc/call-stack.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mds-kbdc/call-stack.h b/src/mds-kbdc/call-stack.h index aa206b3..3c010cf 100644 --- a/src/mds-kbdc/call-stack.h +++ b/src/mds-kbdc/call-stack.h @@ -25,6 +25,21 @@ /** + * Add “called from here”-notes + */ +#define DUMP_CALL_STACK \ + fail_if (mds_kbdc_call_stack_dump()) + + + +/** + * Add “called from here”-notes + * + * @return Zero on success, -1 on error + */ +int mds_kbdc_call_stack_dump(void); + +/** * Prepare for usage of call-stacks * * @param result The `result` parameter of root procedure that requires the call-stack |