ia64/xen-unstable

annotate xen/include/xen/perfc_defn.h @ 19800:78962f85c562

IOMMU: Add two generic functions to vendor neutral interface

Add 2 generic functions into the vendor neutral iommu interface, The
reason is that from changeset 19732, there is only one global flag
"iommu_enabled" that controls iommu enablement for both vtd and amd
systems, so we need different code paths for vtd and amd iommu systems
if this flag has been turned on. Also, the early checking of
"iommu_enabled" in iommu_setup() is removed to prevent iommu
functionalities from been disabled on amd systems.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jun 19 08:41:50 2009 +0100 (2009-06-19)
parents e7702951fc09
children
rev   line source
kaf24@6050 1 /* This file is legitimately included multiple times. */
kaf24@6050 2 /*#ifndef __XEN_PERFC_DEFN_H__*/
kaf24@6050 3 /*#define __XEN_PERFC_DEFN_H__*/
kaf24@5356 4
kfraser@10789 5 #include <asm/perfc_defn.h>
mafetter@4291 6
kaf24@5356 7 PERFCOUNTER_ARRAY(hypercalls, "hypercalls", NR_hypercalls)
mafetter@4292 8
kfraser@14594 9 PERFCOUNTER(calls_to_multicall, "calls to multicall")
kfraser@14594 10 PERFCOUNTER(calls_from_multicall, "calls from multicall")
kfraser@14594 11
kfraser@14595 12 PERFCOUNTER(irqs, "#interrupts")
kfraser@14595 13 PERFCOUNTER(ipis, "#IPIs")
mafetter@4292 14
kfraser@14595 15 PERFCOUNTER(sched_irq, "sched: timer")
kfraser@14595 16 PERFCOUNTER(sched_run, "sched: runs through scheduler")
kfraser@14595 17 PERFCOUNTER(sched_ctx, "sched: context switches")
kaf24@1210 18
keir@19300 19 PERFCOUNTER(vcpu_check, "csched: vcpu_check")
keir@19300 20 PERFCOUNTER(schedule, "csched: schedule")
keir@19300 21 PERFCOUNTER(acct_run, "csched: acct_run")
keir@19300 22 PERFCOUNTER(acct_no_work, "csched: acct_no_work")
keir@19300 23 PERFCOUNTER(acct_balance, "csched: acct_balance")
keir@19300 24 PERFCOUNTER(acct_reorder, "csched: acct_reorder")
keir@19300 25 PERFCOUNTER(acct_min_credit, "csched: acct_min_credit")
keir@19300 26 PERFCOUNTER(acct_vcpu_active, "csched: acct_vcpu_active")
keir@19300 27 PERFCOUNTER(acct_vcpu_idle, "csched: acct_vcpu_idle")
keir@19300 28 PERFCOUNTER(vcpu_sleep, "csched: vcpu_sleep")
keir@19300 29 PERFCOUNTER(vcpu_wake_running, "csched: vcpu_wake_running")
keir@19300 30 PERFCOUNTER(vcpu_wake_onrunq, "csched: vcpu_wake_onrunq")
keir@19300 31 PERFCOUNTER(vcpu_wake_runnable, "csched: vcpu_wake_runnable")
keir@19300 32 PERFCOUNTER(vcpu_wake_not_runnable, "csched: vcpu_wake_not_runnable")
keir@19300 33 PERFCOUNTER(vcpu_park, "csched: vcpu_park")
keir@19300 34 PERFCOUNTER(vcpu_unpark, "csched: vcpu_unpark")
keir@19300 35 PERFCOUNTER(tickle_local_idler, "csched: tickle_local_idler")
keir@19300 36 PERFCOUNTER(tickle_local_over, "csched: tickle_local_over")
keir@19300 37 PERFCOUNTER(tickle_local_under, "csched: tickle_local_under")
keir@19300 38 PERFCOUNTER(tickle_local_other, "csched: tickle_local_other")
keir@19300 39 PERFCOUNTER(tickle_idlers_none, "csched: tickle_idlers_none")
keir@19300 40 PERFCOUNTER(tickle_idlers_some, "csched: tickle_idlers_some")
keir@19300 41 PERFCOUNTER(load_balance_idle, "csched: load_balance_idle")
keir@19300 42 PERFCOUNTER(load_balance_over, "csched: load_balance_over")
keir@19300 43 PERFCOUNTER(load_balance_other, "csched: load_balance_other")
keir@19300 44 PERFCOUNTER(steal_trylock_failed, "csched: steal_trylock_failed")
keir@19300 45 PERFCOUNTER(steal_peer_idle, "csched: steal_peer_idle")
keir@19300 46 PERFCOUNTER(migrate_queued, "csched: migrate_queued")
keir@19300 47 PERFCOUNTER(migrate_running, "csched: migrate_running")
keir@19300 48 PERFCOUNTER(dom_init, "csched: dom_init")
keir@19300 49 PERFCOUNTER(dom_destroy, "csched: dom_destroy")
keir@19300 50 PERFCOUNTER(vcpu_init, "csched: vcpu_init")
keir@19300 51 PERFCOUNTER(vcpu_destroy, "csched: vcpu_destroy")
keir@19303 52 PERFCOUNTER(vcpu_hot, "csched: vcpu_hot")
keir@19300 53
kfraser@14595 54 PERFCOUNTER(need_flush_tlb_flush, "PG_need_flush tlb flushes")
kaf24@5356 55
kaf24@6050 56 /*#endif*/ /* __XEN_PERFC_DEFN_H__ */