mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
build: Remove --enable-gprof
This build option has been deprecated since 8.0. Remove all CONFIG_GPROF code that depends on that, including one errant check using TARGET_GPROF. Acked-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
33bc4fa78b
commit
a0bc599726
9 changed files with 1 additions and 52 deletions
|
@ -22,9 +22,6 @@
|
|||
#include "qemu.h"
|
||||
#include "user-internals.h"
|
||||
#include "qemu/plugin.h"
|
||||
#ifdef CONFIG_GPROF
|
||||
#include <sys/gmon.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_GCOV
|
||||
extern void __gcov_dump(void);
|
||||
|
@ -32,9 +29,6 @@ extern void __gcov_dump(void);
|
|||
|
||||
void preexit_cleanup(CPUArchState *env, int code)
|
||||
{
|
||||
#ifdef CONFIG_GPROF
|
||||
_mcleanup();
|
||||
#endif
|
||||
#ifdef CONFIG_GCOV
|
||||
__gcov_dump();
|
||||
#endif
|
||||
|
|
|
@ -588,11 +588,6 @@ void signal_init(void)
|
|||
act.sa_flags = SA_SIGINFO;
|
||||
act.sa_sigaction = host_signal_handler;
|
||||
for(i = 1; i <= TARGET_NSIG; i++) {
|
||||
#ifdef CONFIG_GPROF
|
||||
if (i == TARGET_SIGPROF) {
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
host_sig = target_to_host_signal(i);
|
||||
sigaction(host_sig, NULL, &oact);
|
||||
if (oact.sa_sigaction == (void *)SIG_IGN) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue