[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 08/12] kern: Make grub_error() more verbose
From: |
Javier Martinez Canillas |
Subject: |
Re: [PATCH v2 08/12] kern: Make grub_error() more verbose |
Date: |
Fri, 6 Mar 2020 12:37:57 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
Hello Vladimir,
Thanks a lot for your feedback.
On 3/5/20 3:22 PM, Vladimir 'phcoder' Serbinenko wrote:
> Please evaluate size increase for this. In the past passing file and line
> number to grub_dprintf was a huge source of increased Kern and core size
>
> Le mer. 4 mars 2020 à 13:01, Javier Martinez Canillas <address@hidden>
> a écrit :
>
For a x86_64-pc build with platform=pc on master with and without the patch:
$ find -regex '.*\(mod\|img\|exec\)$' -exec du -c {} + | grep total$
2740 total
$ find -regex '.*\(mod\|img\|exec\)$' -exec du -c {} + | grep total$
2756 total
so in this case the increase is a 0.6% in size.
And doing the same in a x86_64 with platform=efi build:
$ find -regex '.*\(mod\|img\|exec\)$' -exec du -c {} + | grep total$
4296 total
$ find -regex '.*\(mod\|img\|exec\)$' -exec du -c {} + | grep total$
4356 total
The size increase it's a little bigger but just a 1.4%.
You are right that there's a size increase but I wouldn't call it huge and
I think that's a good trade off for the convenience of having that info.
Best regards,
--
Javier Martinez Canillas
Software Engineer - Desktop Hardware Enablement
Red Hat
- [PATCH v2 04/12] kern: Add grub_debug_enabled(), (continued)
- [PATCH v2 04/12] kern: Add grub_debug_enabled(), Javier Martinez Canillas, 2020/03/04
- [PATCH v2 06/12] efi/gop: Add support for BLT_ONLY adapters, Javier Martinez Canillas, 2020/03/04
- [PATCH v2 07/12] efi/uga: Use 64 bit for fb_base, Javier Martinez Canillas, 2020/03/04
- [PATCH v2 09/12] efi: Print error messages to grub_efi_allocate_pages_real(), Javier Martinez Canillas, 2020/03/04
- [PATCH v2 11/12] efi/gop: Add debug output on GOP probing, Javier Martinez Canillas, 2020/03/04
- [PATCH v2 08/12] kern: Make grub_error() more verbose, Javier Martinez Canillas, 2020/03/04
- Re: [PATCH v2 08/12] kern: Make grub_error() more verbose, Daniel Kiper, 2020/03/06
- Message not available
- Re: [PATCH v2 08/12] kern: Make grub_error() more verbose, Daniel Kiper, 2020/03/06
- Re: [PATCH v2 08/12] kern: Make grub_error() more verbose, Vladimir 'phcoder' Serbinenko, 2020/03/06
- Re: [PATCH v2 08/12] kern: Make grub_error() more verbose, Daniel Kiper, 2020/03/09
- Re: [PATCH v2 08/12] kern: Make grub_error() more verbose, Didier Spaier, 2020/03/06
- Re: [PATCH v2 08/12] kern: Make grub_error() more verbose, Vladimir 'phcoder' Serbinenko, 2020/03/06
- Re: [PATCH v2 08/12] kern: Make grub_error() more verbose, Didier Spaier, 2020/03/06
- Re: [PATCH v2 08/12] kern: Make grub_error() more verbose, Lennart Sorensen, 2020/03/06