linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: KVM: Simplify tracepoint text
Date: Sat, 10 Aug 2013 23:47:25 +0400	[thread overview]
Message-ID: <520698CD.2070904@cogentembedded.com> (raw)
In-Reply-To: <1376019686-19301-1-git-send-email-christoffer.dall@linaro.org>

Hello.

On 08/09/2013 07:41 AM, Christoffer Dall wrote:

> The tracepoint for kvm_guest_fault was extremely long, make it a
> slightly bit shorter.

> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
> ---
>   arch/arm/kvm/trace.h |    7 +++----
>   1 file changed, 3 insertions(+), 4 deletions(-)

> diff --git a/arch/arm/kvm/trace.h b/arch/arm/kvm/trace.h
> index a8e73ed..8cbaea2 100644
> --- a/arch/arm/kvm/trace.h
> +++ b/arch/arm/kvm/trace.h
> @@ -59,10 +59,9 @@ TRACE_EVENT(kvm_guest_fault,
>   		__entry->ipa			= ipa;
>   	),
>
> -	TP_printk("guest fault at PC %#08lx (hxfar %#08lx, "
> -		  "ipa %#16llx, hsr %#08lx",
> -		  __entry->vcpu_pc, __entry->hxfar,
> -		  __entry->ipa, __entry->hsr)
> +	TP_printk("ipa 0x%llx, hsr 0x%#08lx, hxfar 0x%#08lx, pc 0x%#08lx",

    "0x" and "#" are redundant, they mean the same thing, hexadecimal prefix.

WBR, Sergei

  reply	other threads:[~2013-08-10 19:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09  3:41 [PATCH] ARM: KVM: Simplify tracepoint text Christoffer Dall
2013-08-10 19:47 ` Sergei Shtylyov [this message]
2013-08-12  3:41   ` Christoffer Dall

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=520698CD.2070904@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-arm-kernel@lists.infradead.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).