On 2017-02-28 13:09, Henning Schild wrote: > Am Tue, 28 Feb 2017 12:56:31 +0100 > schrieb Jan Kiszka <[email protected]>: > >> On 2017-02-27 16:40, Henning Schild wrote: >>> diff --git a/hypervisor/Makefile b/hypervisor/Makefile >>> --- a/hypervisor/Makefile >>> +++ b/hypervisor/Makefile >>> @@ -34,6 +34,14 @@ >>> >>> CORE_OBJECTS = setup.o printk.o paging.o control.o lib.o mmio.o >>> pci.o ivshmem.o >>> +## for now "make CONFIG_JAILHOUSE_GCOV=y" >>> +## using config.(h|mk) does not work on this level >>> +## probably move config.h->mk up one dir >>> +ifdef CONFIG_JAILHOUSE_GCOV >>> +CORE_OBJECTS += gcov.o >>> +endif >> >> Do we have to make this conditional? If not, the problem mentioned >> above is no longer existent. > > The code coverage profiler increases code-size and has a negative > impact on performance as well. I did not measure it but assume that you > do not want it turned on all the time.
Ah, ok, missed that this is hypervisor already, not just driver. Then let's make config.mk work for the hypervisor core. Jan -- Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
