Exclude strace from MODE=tiny builds

This change gets o/tinylinux/examples/hello2.com back down to 8kb in
size which had been unintentionally bloated to 40kb in recent months

See #965
This commit is contained in:
Justine Tunney 2023-11-29 03:45:54 -08:00
parent b7e1dc81c2
commit 2b960bb249
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
18 changed files with 46 additions and 33 deletions

View file

@ -153,9 +153,7 @@ int munmap(void *p, size_t n) {
int rc;
__mmi_lock();
rc = __munmap_unlocked(p, n);
#if SYSDEBUG
size_t toto = __strace > 0 ? __get_memtrack_size(&_mmi) : 0;
#endif
__mmi_unlock();
STRACE("munmap(%.12p, %'zu) → %d% m (%'zu bytes total)", p, n, rc, toto);
return rc;