qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <laurent@vivier.eu>
To: Mike Gelfand <mikedld@mikedld.com>, qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org
Subject: Re: [PATCH] linux-user: Add strace support for printing OFD fcntl operations
Date: Sun, 30 Aug 2020 21:48:52 +0200	[thread overview]
Message-ID: <b832edf4-966b-3ac3-39e1-df57dc2f958c@vivier.eu> (raw)
In-Reply-To: <20200830092242.31506-1-mikedld@mikedld.com>

Le 30/08/2020 à 11:22, Mike Gelfand a écrit :
> Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
> ---
>  linux-user/strace.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/linux-user/strace.c b/linux-user/strace.c
> index 4f77b0cf76..11fea14fba 100644
> --- a/linux-user/strace.c
> +++ b/linux-user/strace.c
> @@ -2056,6 +2056,18 @@ print_fcntl(void *cpu_env, const struct syscallname *name,
>          print_pointer(arg2, 1);
>          break;
>  #endif
> +    case TARGET_F_OFD_GETLK:
> +        qemu_log("F_OFD_GETLK,");
> +        print_pointer(arg2, 1);
> +        break;
> +    case TARGET_F_OFD_SETLK:
> +        qemu_log("F_OFD_SETLK,");
> +        print_pointer(arg2, 1);
> +        break;
> +    case TARGET_F_OFD_SETLKW:
> +        qemu_log("F_OFD_SETLKW,");
> +        print_pointer(arg2, 1);
> +        break;
>      case TARGET_F_SETLEASE:
>          qemu_log("F_SETLEASE,");
>          print_raw_param(TARGET_ABI_FMT_ld, arg2, 0);
> 

Reviewed-by: Laurent Vivier <laurent@vivier.eu>


  reply	other threads:[~2020-08-30 19:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-30  9:22 [PATCH] linux-user: Add strace support for printing OFD fcntl operations Mike Gelfand
2020-08-30 19:48 ` Laurent Vivier [this message]
2020-09-01  9:47 ` Laurent Vivier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b832edf4-966b-3ac3-39e1-df57dc2f958c@vivier.eu \
    --to=laurent@vivier.eu \
    --cc=mikedld@mikedld.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).