* [PATCH] xen: fix build failure if using perfc=y
@ 2015-02-19 17:11 Dario Faggioli
2015-02-19 17:15 ` Andrew Cooper
2015-02-20 10:39 ` Jan Beulich
0 siblings, 2 replies; 3+ messages in thread
From: Dario Faggioli @ 2015-02-19 17:11 UTC (permalink / raw)
To: Xen-devel; +Cc: Andrew Cooper, Paul Durrant, Jan Beulich
by providing the definition of the {w,r}rmsr_tsc_msr counters,
used within Viridiam implementation.
Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Cc: Paul Durrant <paul.durrant@citrix.com>
CC: Jan Beulich <JBeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
---
xen/include/xen/perfc_defn.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h
index 3ac7b45..db987d1 100644
--- a/xen/include/xen/perfc_defn.h
+++ b/xen/include/xen/perfc_defn.h
@@ -53,4 +53,8 @@ PERFCOUNTER(vcpu_hot, "csched: vcpu_hot")
PERFCOUNTER(need_flush_tlb_flush, "PG_need_flush tlb flushes")
+/* Viridian counters */
+PERFCOUNTER(mshv_wrmsr_tsc_msr, "viridian: wrmsr_tsc_msr")
+PERFCOUNTER(mshv_rdmsr_tsc_msr, "viridian: rdmsr_tsc_msr")
+
/*#endif*/ /* __XEN_PERFC_DEFN_H__ */
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] xen: fix build failure if using perfc=y
2015-02-19 17:11 [PATCH] xen: fix build failure if using perfc=y Dario Faggioli
@ 2015-02-19 17:15 ` Andrew Cooper
2015-02-20 10:39 ` Jan Beulich
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Cooper @ 2015-02-19 17:15 UTC (permalink / raw)
To: Dario Faggioli, Xen-devel; +Cc: Paul Durrant, Jan Beulich
On 19/02/15 17:11, Dario Faggioli wrote:
> by providing the definition of the {w,r}rmsr_tsc_msr counters,
> used within Viridiam implementation.
"Viridian"
>
> Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
> Cc: Paul Durrant <paul.durrant@citrix.com>
> CC: Jan Beulich <JBeulich@suse.com>
> Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
> ---
> xen/include/xen/perfc_defn.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h
> index 3ac7b45..db987d1 100644
> --- a/xen/include/xen/perfc_defn.h
> +++ b/xen/include/xen/perfc_defn.h
> @@ -53,4 +53,8 @@ PERFCOUNTER(vcpu_hot, "csched: vcpu_hot")
>
> PERFCOUNTER(need_flush_tlb_flush, "PG_need_flush tlb flushes")
>
> +/* Viridian counters */
> +PERFCOUNTER(mshv_wrmsr_tsc_msr, "viridian: wrmsr_tsc_msr")
> +PERFCOUNTER(mshv_rdmsr_tsc_msr, "viridian: rdmsr_tsc_msr")
> +
> /*#endif*/ /* __XEN_PERFC_DEFN_H__ */
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] xen: fix build failure if using perfc=y
2015-02-19 17:11 [PATCH] xen: fix build failure if using perfc=y Dario Faggioli
2015-02-19 17:15 ` Andrew Cooper
@ 2015-02-20 10:39 ` Jan Beulich
1 sibling, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2015-02-20 10:39 UTC (permalink / raw)
To: Dario Faggioli; +Cc: Andrew Cooper, Paul Durrant, Xen-devel
>>> On 19.02.15 at 18:11, <dario.faggioli@citrix.com> wrote:
> --- a/xen/include/xen/perfc_defn.h
> +++ b/xen/include/xen/perfc_defn.h
> @@ -53,4 +53,8 @@ PERFCOUNTER(vcpu_hot, "csched: vcpu_hot")
>
> PERFCOUNTER(need_flush_tlb_flush, "PG_need_flush tlb flushes")
>
> +/* Viridian counters */
> +PERFCOUNTER(mshv_wrmsr_tsc_msr, "viridian: wrmsr_tsc_msr")
> +PERFCOUNTER(mshv_rdmsr_tsc_msr, "viridian: rdmsr_tsc_msr")
They belong into xen/include/asm-x86/perfc_defn.h (you'll find a
large group of other mshv_* ones there).
Jan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-20 10:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 17:11 [PATCH] xen: fix build failure if using perfc=y Dario Faggioli
2015-02-19 17:15 ` Andrew Cooper
2015-02-20 10:39 ` Jan Beulich
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.