[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xentrace, arm, hvm



On Tue, 2014-02-04 at 13:31 +0000, Julien Grall wrote:
> 
> On 04/02/14 12:39, Pavlo Suikov wrote:
> > Well,
> 
> Hello,
> 
> Ian/Stefano may have a better answer than me on this part :).

I know next to nothing about this tracing stuff. Probably best just to
dig in and ask questions as issues arise.

> 
> >  > To support xentrace on ARM, we will need at least:
> >
> > I would readily do that if you give me some directions on where to look
> > at, or a high-level explanation of:
> >
> >  > - to replace rcu_lock_domain_by_any_id() by a a similar function
> >
> > What semantics should this function have?
> 
> I would copy in part get_pg_owner (arch/x86/mm/mm.c) in the ARM code. 
> The check "unlikely(paging_mode_translate(curr))" will always fail on ARM.

Depending on how much is shared making it a common function might be
better.

> 
> >  > - to add stubs for trace in arm code
> >
> > Is there an example of what functionality should be stubbed in arm code?
> >
> 
> You can look at __trace_hypercall_entry on x86, and x86/entry.S where 
> the function is called.
> 
> Sincerely yours,
> 
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.