* Re: [PULL 01/11] *-user: remove the guest_user_syscall tracepoints
[not found] ` <5c0e79d6-6810-5429-656a-041e114b9b5e@linaro.org>
@ 2023-06-01 13:54 ` Stefan Hajnoczi
0 siblings, 0 replies; only message in thread
From: Stefan Hajnoczi @ 2023-06-01 13:54 UTC (permalink / raw)
To: Richard Henderson; +Cc: qemu-devel, Alex Bennée
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]
On Wed, May 31, 2023 at 02:29:49PM -0700, Richard Henderson wrote:
> On 5/31/23 12:48, Stefan Hajnoczi wrote:
> > --- a/bsd-user/freebsd/os-syscall.c
> > +++ b/bsd-user/freebsd/os-syscall.c
> > @@ -531,7 +531,6 @@ abi_long do_freebsd_syscall(void *cpu_env, int num, abi_long arg1,
> > CPUState *cpu = env_cpu(cpu_env);
> > abi_long ret;
> > - trace_guest_user_syscall(cpu, num, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
> > if (do_strace) {
> > print_freebsd_syscall(num, arg1, arg2, arg3, arg4, arg5, arg6);
> > }
> > @@ -541,7 +540,6 @@ abi_long do_freebsd_syscall(void *cpu_env, int num, abi_long arg1,
> > if (do_strace) {
> > print_freebsd_syscall_ret(num, ret);
> > }
> > - trace_guest_user_syscall_ret(cpu, num, ret);
> > return ret;
> > }
>
> Failed to remove the now unused cpu variable:
>
> https://gitlab.com/qemu-project/qemu/-/jobs/4387911615#L6426
>
> ../bsd-user/freebsd/os-syscall.c:531:15: error: unused variable 'cpu'
> [-Werror,-Wunused-variable]
> CPUState *cpu = env_cpu(cpu_env);
> ^
> 1 error generated.
I'll send a v2 with the unused variable warning fixed.
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-01 13:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230531194815.1508961-1-stefanha@redhat.com>
[not found] ` <20230531194815.1508961-2-stefanha@redhat.com>
[not found] ` <5c0e79d6-6810-5429-656a-041e114b9b5e@linaro.org>
2023-06-01 13:54 ` [PULL 01/11] *-user: remove the guest_user_syscall tracepoints Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).