All of lore.kernel.org
 help / color / mirror / Atom feed
* Xentrace supported platforms.
@ 2006-11-17  4:44 Tony Breeds
  2006-11-17  4:55 ` Rob Gardner
  0 siblings, 1 reply; 6+ messages in thread
From: Tony Breeds @ 2006-11-17  4:44 UTC (permalink / raw)
  To: Xen-Devel, Mark Williamson, Rob Gardner; +Cc: xen-ppc

Hello all,
	I've hacked up a version of xentrace (both tools, and hypervisor
code), to work on PPC.  During this process I found a few places that
break on 64-bit platforms.  So I'm wondering who's using xentrace and
on what platforms?

Also is anyone interested in being able to capture the xentrace data on
one machine and read/process it on another (potentially switching
endianness and wordsize in the process)?

Yours Tony

   linux.conf.au       http://linux.conf.au/ || http://lca2007.linux.org.au/
   Jan 15-20 2007      The Australian Linux Technical Conference!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Xentrace supported platforms.
  2006-11-17  4:44 Xentrace supported platforms Tony Breeds
@ 2006-11-17  4:55 ` Rob Gardner
  2006-11-17  5:01   ` Atsushi SAKAI
  2006-11-17  5:40   ` Tony Breeds
  0 siblings, 2 replies; 6+ messages in thread
From: Rob Gardner @ 2006-11-17  4:55 UTC (permalink / raw)
  To: Xen-Devel, Mark Williamson, Rob Gardner, xen-ppc

Tony Breeds wrote:
> Hello all,
> 	I've hacked up a version of xentrace (both tools, and hypervisor
> code), to work on PPC.  During this process I found a few places that
> break on 64-bit platforms.  So I'm wondering who's using xentrace and
> on what platforms?

In the dim past, xentrace/xenmon had been tested on amd64 and IA64, but 
I don't know if anyone is using it on those platforms.

If you have fixes that would work on all platforms, then by all means 
you should share them.


Rob

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Xentrace supported platforms.
  2006-11-17  4:55 ` Rob Gardner
@ 2006-11-17  5:01   ` Atsushi SAKAI
  2006-11-17  5:39     ` Tony Breeds
  2006-11-17  5:40   ` Tony Breeds
  1 sibling, 1 reply; 6+ messages in thread
From: Atsushi SAKAI @ 2006-11-17  5:01 UTC (permalink / raw)
  To: Rob Gardner, Xen-Devel, Mark Williamson, xen-ppc

Hello, Rob and Tony

 I am using xentrace in IA64 environment.
It works fine.
What is your problem?

Anyway I sometimes analyze xentrace/IA64 data on x86 
by change the format string of xentrace_format/x86.
So for my work, endian is no problem at this moment.

Thanks
Atsushi SAKAI


>Tony Breeds wrote:
>> Hello all,
>> 	I've hacked up a version of xentrace (both tools, and hypervisor
>> code), to work on PPC.  During this process I found a few places that
>> break on 64-bit platforms.  So I'm wondering who's using xentrace and
>> on what platforms?
>
>In the dim past, xentrace/xenmon had been tested on amd64 and IA64, but 
>I don't know if anyone is using it on those platforms.
>
>If you have fixes that would work on all platforms, then by all means 
>you should share them.
>
>
>Rob
>
>
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xensource.com
>http://lists.xensource.com/xen-devel
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Xentrace supported platforms.
  2006-11-17  5:01   ` Atsushi SAKAI
@ 2006-11-17  5:39     ` Tony Breeds
  2006-11-17 19:44       ` [Xen-devel] " Jimi Xenidis
  0 siblings, 1 reply; 6+ messages in thread
From: Tony Breeds @ 2006-11-17  5:39 UTC (permalink / raw)
  To: Atsushi SAKAI
  Cc: XenPPC-devel, xen-ppc, Xen-Devel, Rob Gardner, Mark Williamson

On Fri, Nov 17, 2006 at 02:01:02PM +0900, Atsushi SAKAI wrote:
> Hello, Rob and Tony
> 
>  I am using xentrace in IA64 environment.
> It works fine.
> What is your problem?

Essentially it boiled down to the use of unsigned long in the t_rec
structure.  When trying to write the data to disk (xentrace.c) the t_rec
structure was being written 32bytes at a time (as oppoed to the whole
structure which is 56 bytes.
 
> Anyway I sometimes analyze xentrace/IA64 data on x86 
> by change the format string of xentrace_format/x86.
> So for my work, endian is no problem at this moment.

Okay good to know.

Yours Tony

   linux.conf.au       http://linux.conf.au/ || http://lca2007.linux.org.au/
   Jan 15-20 2007      The Australian Linux Technical Conference!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Xentrace supported platforms.
  2006-11-17  4:55 ` Rob Gardner
  2006-11-17  5:01   ` Atsushi SAKAI
@ 2006-11-17  5:40   ` Tony Breeds
  1 sibling, 0 replies; 6+ messages in thread
From: Tony Breeds @ 2006-11-17  5:40 UTC (permalink / raw)
  To: Rob Gardner; +Cc: xen-ppc, Xen-Devel, Mark Williamson, XenPPC-devel

On Thu, Nov 16, 2006 at 09:55:40PM -0700, Rob Gardner wrote:
 
> In the dim past, xentrace/xenmon had been tested on amd64 and IA64, but 
> I don't know if anyone is using it on those platforms.
> 
> If you have fixes that would work on all platforms, then by all means 
> you should share them.

Certainly will.. I wanted to know what platforms are currently in use so
I can try and verify that I don't break them in the process :)

Yours Tony

   linux.conf.au       http://linux.conf.au/ || http://lca2007.linux.org.au/
   Jan 15-20 2007      The Australian Linux Technical Conference!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xen-devel] Re: Xentrace supported platforms.
  2006-11-17  5:39     ` Tony Breeds
@ 2006-11-17 19:44       ` Jimi Xenidis
  0 siblings, 0 replies; 6+ messages in thread
From: Jimi Xenidis @ 2006-11-17 19:44 UTC (permalink / raw)
  To: Tony Breeds
  Cc: Xen-Devel, Mark Williamson, Atsushi SAKAI, XenPPC-devel, xen-ppc,
	Rob Gardner


On Nov 17, 2006, at 12:39 AM, Tony Breeds wrote:

> On Fri, Nov 17, 2006 at 02:01:02PM +0900, Atsushi SAKAI wrote:
>> Hello, Rob and Tony
>>
>>  I am using xentrace in IA64 environment.
>> It works fine.
>> What is your problem?
>
> Essentially it boiled down to the use of unsigned long in the t_rec
> structure.  When trying to write the data to disk (xentrace.c) the  
> t_rec
> structure was being written 32bytes at a time (as oppoed to the whole
> structure which is 56 bytes.
let alone a whole 4 bytes wasted to padding in the 64bit world (guess  
thats why there data[5]?)
Can we get away with uint32[5], always?


Also, I'm not sure we have headers that can state this, but if we do  
not then lets pick 1 endian.
I know I'll lose so I'll even be ok with little-endian as the  
canonical endian.
-JX

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-11-17 19:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-17  4:44 Xentrace supported platforms Tony Breeds
2006-11-17  4:55 ` Rob Gardner
2006-11-17  5:01   ` Atsushi SAKAI
2006-11-17  5:39     ` Tony Breeds
2006-11-17 19:44       ` [Xen-devel] " Jimi Xenidis
2006-11-17  5:40   ` Tony Breeds

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.