From: Timothy Miller <miller@techsource.com>
To: root@chaos.analogic.com
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: kernel 'simulator' and wave-form analysis tool?
Date: Fri, 05 Mar 2004 13:52:47 -0500 [thread overview]
Message-ID: <4048CC7F.4070009@techsource.com> (raw)
In-Reply-To: <Pine.LNX.4.53.0403051253220.32349@chaos>
Richard B. Johnson wrote:
>
>
> If you are making hardware that goes between the CPU and the
> rest of the world, then you can keep track of anything that's
> going on with some hardware-software combination, external
> to the chip you are analyzing. These things exist and they
> are called emulators, even though most don't emulate anything,
> they use the real chip, but provide the physical and logical
> connections to the user. However, in the case of an already-made
> machine, you are limited in what you can do on the machine
> with software. For instance, to trap every memory access, you
> would need a trap-handler and set all the memory to trap
> on an access. This would a bit hard to do within the kernel
> because all the code on that page would trap as instructions
> were fetched. So, some mere "hook" won't do it, you need
> a kernel that executes a kernel and I think one for Linux
> already exists. So, before you get too involved, you might
> want to check that out.
I must have been unclear. I was not suggesting adding hardware. I was
suggesting that we could run Linux under Bochs, which is a software x86
emulator. Being what it is, hooks can be added to track "cpu activity"
is it occurs within the emulator. This is all a simulation. The key
idea I was suggesting was to log processor activity (of the emulator)
and develop a viewer program which would help people visualize the activity.
Bochs already has hooks. I could write a logger and a viewer.
next prev parent reply other threads:[~2004-03-05 18:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-05 17:05 kernel 'simulator' and wave-form analysis tool? Timothy Miller
[not found] ` <4048B36E.8000605@techsource.com.suse.lists.linux.kernel>
2004-03-05 17:48 ` Andi Kleen
2004-03-05 18:04 ` Richard B. Johnson
2004-03-05 18:52 ` Timothy Miller [this message]
2004-03-06 11:13 ` John Bradford
2004-03-07 2:59 ` Mike Fedyk
2004-03-07 18:55 ` Jeff Dike
2004-03-08 16:33 ` Timothy Miller
2004-03-12 21:38 ` Herbert Poetzl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4048CC7F.4070009@techsource.com \
--to=miller@techsource.com \
--cc=linux-kernel@vger.kernel.org \
--cc=root@chaos.analogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox