From: Paolo Bonzini Date: Thu, 6 Oct 2016 09:39:10 +0000 (+0200) Subject: ringtest: use link-time optimization X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=44d65ea1615099ae252407f2554338d450cfdb1c;hp=44d65ea1615099ae252407f2554338d450cfdb1c;p=cascardo%2Flinux.git ringtest: use link-time optimization By using -flto and -fwhole-program, all functions from the ring implementation can be treated as static and possibly inlined. Force this to happen through the GCC flatten attribute. Signed-off-by: Paolo Bonzini Signed-off-by: Michael S. Tsirkin ---