|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Performance Monitor and Profiling tools for ARM64
On 4/3/19 7:57 AM, Diego Alejandro Parra Guzman wrote: Hi Diego,
The inclusion in Xen will depend on your use cases. In my previous e-mail, I described 2 uses cases: 1) A guest profiling itself 2) The hypervisor profiling the system (i.e guests and itself) Which one are you implementing? arm_pmu is based on the Linux Perf subsystem. So I don't think you can re-used the driver directly. Although, you could re-use some parts at your convenience. * again how can I include that primitives as a driver for ARM64 in XEN? The first step is to define your use case. Then we can discuss how we can implement PMU support in Xen. * PMU is implemented for each CPU so how to deal with that? It depends on what you are trying to achieve. If you are exposing the PMU to the guest, then it is probably sufficient to store the context in the guest vCPU state. If you need to hold state in Xen as well, then you can use a per-cpu storage (see include/xen/percpu.h). Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |