All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* ADB spy tool
@ 1998-12-23 10:14 Benjamin Herrenschmidt
  1998-12-23 11:37 ` Peter De Schrijver
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Herrenschmidt @ 1998-12-23 10:14 UTC (permalink / raw
  To: linuxppc-dev@lists.linuxppc.org; +Cc: linuxppc-user, Paul Mackerras


I've built a little tools for tracing ADB requests issued by MacOS.
There's a little INIT that records all ADB commands issues thru the
_ADBOp trap and an application for displaying those traces. It also
records the datas with the outgoing command. Since it's not a tail patch,
it won't display incoming datas, but you can use a tool like ADB Parser
to read the content of registers.

With this tool, you can spy the activity of your device, see all the
commands issued by the driver to the device, etc...

The INIT will start recording in a ring buffer as soon as it's loaded, so
if you want to to loard earlier, you may want to change it's type to
'scri'. The ring buffer is about 32k and older traces are lost when it's
full. The application for emptying the buffer is PPC only unless you ask
for a 68k version. If you use MountX, make sure you don't use the debug
version of MountX nor it's trace application, it will conflict with this
patch (will be fixed in an new bootx release).



-- 
           E-Mail: <mailto:bh40@calva.net>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>





[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

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

* Re: ADB spy tool
  1998-12-23 10:14 ADB spy tool Benjamin Herrenschmidt
@ 1998-12-23 11:37 ` Peter De Schrijver
  1998-12-23 13:11   ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 4+ messages in thread
From: Peter De Schrijver @ 1998-12-23 11:37 UTC (permalink / raw
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev, linuxppc-user, paulus


> 
> 
> I've built a little tools for tracing ADB requests issued by MacOS.
> There's a little INIT that records all ADB commands issues thru the
> _ADBOp trap and an application for displaying those traces. It also
> records the datas with the outgoing command. Since it's not a tail patch,
> it won't display incoming datas, but you can use a tool like ADB Parser
> to read the content of registers.
> 
> With this tool, you can spy the activity of your device, see all the
> commands issued by the driver to the device, etc...
> 
> The INIT will start recording in a ring buffer as soon as it's loaded, so
> if you want to to loard earlier, you may want to change it's type to
> 'scri'. The ring buffer is about 32k and older traces are lost when it's
> full. The application for emptying the buffer is PPC only unless you ask
> for a 68k version. If you use MountX, make sure you don't use the debug

I would like m68k versions of this, as I don't have a ppc running macos.

thanks,

Peter.

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

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

* Re: ADB spy tool
  1998-12-23 11:37 ` Peter De Schrijver
@ 1998-12-23 13:11   ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Herrenschmidt @ 1998-12-23 13:11 UTC (permalink / raw
  To: linuxppc-user, linuxppc-dev, Peter De Schrijver



>I would like m68k versions of this, as I don't have a ppc running macos.

I replaced the archive with a new one containing a fat tracer application.


-- 
           E-Mail: <mailto:bh40@calva.net>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>





[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

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

* ADB spy tool
@ 1998-12-24  8:43 Benjamin Herrenschmidt
  0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Herrenschmidt @ 1998-12-24  8:43 UTC (permalink / raw
  To: linuxppc-dev@lists.linuxppc.org; +Cc: linuxppc-user, Paul Mackerras


Ooops, I firgot the URL, it's:

<http://calvaweb.calvacom.fr/bh40/TraceADB.sit>


I've built a little tools for tracing ADB requests issued by MacOS.
There's a little INIT that records all ADB commands issues thru the
_ADBOp trap and an application for displaying those traces. It also
records the datas with the outgoing command. Since it's not a tail patch,
it won't display incoming datas, but you can use a tool like ADB Parser
to read the content of registers.

With this tool, you can spy the activity of your device, see all the
commands issued by the driver to the device, etc...

The INIT will start recording in a ring buffer as soon as it's loaded, so
if you want to to loard earlier, you may want to change it's type to
'scri'. The ring buffer is about 32k and older traces are lost when it's
full. The application for emptying the buffer is PPC only unless you ask
for a 68k version. If you use MountX, make sure you don't use the debug
version of MountX nor it's trace application, it will conflict with this
patch (will be fixed in an new bootx release).



-- 
           E-Mail: <mailto:bh40@calva.net>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>




[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

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

end of thread, other threads:[~1998-12-24  8:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-23 10:14 ADB spy tool Benjamin Herrenschmidt
1998-12-23 11:37 ` Peter De Schrijver
1998-12-23 13:11   ` Benjamin Herrenschmidt
  -- strict thread matches above, loose matches on Subject: below --
1998-12-24  8:43 Benjamin Herrenschmidt

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.