diff options
author | Damjan Marion <damarion@cisco.com> | 2024-05-23 13:06:39 +0000 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2024-05-29 09:50:18 +0000 |
commit | 78925604e9bcdf4efa734b65e2e6bcc4d21e2e46 (patch) | |
tree | 33ed746c342d4f7631221ee365c0be9e0971b039 /.clang-format | |
parent | 5409d330020b19ab909838e734e29ab71c36a14f (diff) |
vlib: stack trace and signal handler improvements
- use libunwrap which seems to be industry standard
- display traceback on console if running interactive or with syslog
disabled (color output unless nocolor specified)
- print hexdump of offending code
- print library filename for each stack frame
Type: improvement
Change-Id: I61d3056251b87076be0578ccda300aa311c222ef
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index 617c5db417f..798a8c39a35 100644 --- a/.clang-format +++ b/.clang-format @@ -27,6 +27,7 @@ ForEachMacros: - 'foreach_vlib_frame_bitmap_set_bit_index' - 'FOREACH_ARRAY_ELT' - 'RTE_ETH_FOREACH_DEV' + - 'foreach_clib_stack_frame' - 'foreach_vnet_dev_rx_queue_runtime' - 'foreach_vnet_dev_counter' - 'foreach_vnet_dev_port_rx_queue' |