Re: New verbose logging and -DSMALL

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi,

> so I experimented with this, replacing __func__ and __FILE__ with "" in
> log.h and the savings don't seem worth it:

my baseline is a bit lower (less algorithms) and could go
down even more…

   text    data     bss     dec     hex filename
 371332    3068   11092  385492   5e1d4 ssh/obj/ssh
 415880    3820   12028  431728   69670 sshd/obj/sshd

… but, yes, less than 8 KiB don’t seem all that much.

> making debug*() expand to nothing produces arguable benefits too

True. Plus, the debug messages themselves are valuable.

> I don't think it is worth it.

Agreed. It was worth a try and thank you for looking
into it.

bye,
//mirabilos
-- 
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux