diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-18 12:35:20 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-01-11 23:34:14 -0700 |
commit | a02f59f255006a2d6cb236fe2448b69c9c223adb (patch) | |
tree | d65c0c26f7d100085d6a563aea9df1b501cbbd19 /build-aux | |
parent | 2f8f8102ac0ea4403243e1bd4a6af750edb8f180 (diff) |
stack.c.gen: Monitor printf and assert overhead
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/stack.c.gen | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build-aux/stack.c.gen b/build-aux/stack.c.gen index 6602bdc..0568af0 100755 --- a/build-aux/stack.c.gen +++ b/build-aux/stack.c.gen @@ -746,6 +746,9 @@ def main( return True return False + def misc_filter(name: str) -> bool: + return name.endswith(":__lm_printf") or name == "__assert_msg_fail" + def location_xform(loc: str) -> str: if not loc.startswith("/"): return loc @@ -780,6 +783,7 @@ def main( app_func_filters={ "Threads": thread_filter, "Interrupt handlers": intrhandler_filter, + "Misc": misc_filter, }, app_location_xform=location_xform, app_indirect_callees=indirect_callees, |