OSDN Git Service

tile: support reporting Tilera hypervisor statistics
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 12 Aug 2013 18:39:22 +0000 (14:39 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 3 Sep 2013 18:51:36 +0000 (14:51 -0400)
commit80f184108e364ba1d08dd77339966034c9a9243e
tree5ec0337b5f0184e886d12392704289deeb6acd5b
parent8157107b13099d6eb2e8ccd00b9aba009c698c38
tile: support reporting Tilera hypervisor statistics

Newer hypervisors have an API for reporting per-cpu statistics
information.  This change allows seeing that information via
/sys/devices/system/cpu/cpuN/hv_stats file for each core.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/hv/hypervisor.h
arch/tile/kernel/sysfs.c