From: George Dunlap <george.dunlap@eu.citrix.com>
To: Dario Faggioli <dario.faggioli@citrix.com>,
Xen-devel <xen-devel@lists.xen.org>
Cc: Keir Fraser <keir@xen.org>, Meng Xu <xumengpanda@gmail.com>,
Jan Beulich <JBeulich@suse.com>
Subject: Re: [PATCH 5/7] xen: make dumping vcpu info look better
Date: Mon, 16 Mar 2015 18:48:25 +0000 [thread overview]
Message-ID: <55072579.6020708@eu.citrix.com> (raw)
In-Reply-To: <20150316170527.10279.33227.stgit@Solace.station>
On 03/16/2015 05:05 PM, Dario Faggioli wrote:
> and more consistent. In fact, before this changes, it looks
> like this:
>
> (XEN) VCPU information and callbacks for domain 0:
> (XEN) VCPU0: CPU4 [has=F] poll=0 upcall_pend = 00, upcall_mask = 00 dirty_cpus={4} cpu_affinity={0-15}
> (XEN) cpu_soft_affinity={0-15}
> (XEN) pause_count=0 pause_flags=1
> (XEN) No periodic timer
>
> After, it looks like this:
>
> (XEN) VCPU information and callbacks for domain 0:
> (XEN) VCPU0: CPU4 [has=F] poll=0 upcall_pend=00 upcall_mask=00 dirty_cpus={4}
> (XEN) cpu_hard_affinity={0-15} cpu_soft_affinity={0-15}
> (XEN) pause_count=0 pause_flags=1
> (XEN) No periodic timer
>
> So, consistently _not_ put space between fields and '=',
> and consistently _not_ use ',' as separator. Also, put the
> info about affinity on the same, properly indented.
>
> Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
> Cc: George Dunlap <george.dunlap@eu.citrix.com>
> Cc: Meng Xu <xumengpanda@gmail.com>
> Cc: Jan Beulich <JBeulich@suse.com>
> Cc: Keir Fraser <keir@xen.org>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
> ---
> xen/common/keyhandler.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/xen/common/keyhandler.c b/xen/common/keyhandler.c
> index a917726..5d21e48 100644
> --- a/xen/common/keyhandler.c
> +++ b/xen/common/keyhandler.c
> @@ -294,15 +294,15 @@ static void dump_domains(unsigned char key)
> process_pending_softirqs();
>
> printk(" VCPU%d: CPU%d [has=%c] poll=%d "
> - "upcall_pend = %02x, upcall_mask = %02x ",
> + "upcall_pend=%02x upcall_mask=%02x ",
> v->vcpu_id, v->processor,
> v->is_running ? 'T':'F', v->poll_evtchn,
> vcpu_info(v, evtchn_upcall_pending),
> !vcpu_event_delivery_is_enabled(v));
> cpuset_print(tmpstr, sizeof(tmpstr), v->vcpu_dirty_cpumask);
> - printk("dirty_cpus=%s ", tmpstr);
> + printk("dirty_cpus=%s\n", tmpstr);
> cpuset_print(tmpstr, sizeof(tmpstr), v->cpu_hard_affinity);
> - printk("cpu_affinity=%s\n", tmpstr);
> + printk(" cpu_hard_affinity=%s ", tmpstr);
> cpuset_print(tmpstr, sizeof(tmpstr), v->cpu_soft_affinity);
> printk("cpu_soft_affinity=%s\n", tmpstr);
> printk(" pause_count=%d pause_flags=%lx\n",
>
next prev parent reply other threads:[~2015-03-16 18:48 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-16 17:04 [PATCH 0/7] Improving dumping of scheduler related info Dario Faggioli
2015-03-16 17:04 ` [PATCH 1/7] xen: sched_rt: avoid ASSERT()ing on runq dump if there are no domains Dario Faggioli
2015-03-16 18:18 ` George Dunlap
2015-03-16 20:31 ` Meng Xu
2015-03-17 10:41 ` Jan Beulich
2015-03-17 11:00 ` Dario Faggioli
2015-03-16 17:04 ` [PATCH 2/7] xen: sched_rt: implement the .free_pdata hook Dario Faggioli
2015-03-16 17:10 ` Dario Faggioli
2015-03-16 18:23 ` Meng Xu
2015-03-17 13:00 ` Dario Faggioli
2015-03-16 18:17 ` Meng Xu
2015-03-16 18:21 ` George Dunlap
2015-03-16 17:05 ` [PATCH 3/7] xen: rework locking for dump of scheduler info (debug-key r) Dario Faggioli
2015-03-16 18:41 ` George Dunlap
2015-03-16 20:04 ` Meng Xu
2015-03-17 10:54 ` Jan Beulich
2015-03-17 11:05 ` George Dunlap
2015-03-17 11:18 ` Dario Faggioli
2015-03-17 11:25 ` Jan Beulich
2015-03-17 11:32 ` George Dunlap
2015-03-17 11:43 ` Jan Beulich
2015-03-17 12:01 ` George Dunlap
2015-03-17 11:14 ` Dario Faggioli
2015-03-17 11:31 ` Jan Beulich
2015-03-16 17:05 ` [PATCH 4/7] xen: print online pCPUs and free pCPUs when dumping scheduler info Dario Faggioli
2015-03-16 18:37 ` Juergen Gross
2015-03-16 18:46 ` George Dunlap
2015-03-17 10:59 ` Jan Beulich
2015-03-16 17:05 ` [PATCH 5/7] xen: make dumping vcpu info look better Dario Faggioli
2015-03-16 18:48 ` George Dunlap [this message]
2015-03-16 20:06 ` Meng Xu
2015-03-16 17:05 ` [PATCH 6/7] xen: sched_credit2: more info when dumping Dario Faggioli
2015-03-16 18:50 ` George Dunlap
2015-03-16 17:05 ` [PATCH 7/7] xen: sched_rt: print useful affinity " Dario Faggioli
2015-03-16 19:05 ` George Dunlap
2015-03-17 13:51 ` Dario Faggioli
2015-03-16 20:30 ` Meng Xu
2015-03-17 11:10 ` George Dunlap
2015-03-17 11:28 ` Jan Beulich
2015-03-18 1:05 ` Meng Xu
2015-03-17 14:12 ` Dario Faggioli
2015-03-18 1:07 ` Meng Xu
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=55072579.6020708@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=dario.faggioli@citrix.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xen.org \
--cc=xumengpanda@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.