* [Qemu-devel] log every write to Aarch64 regs
@ 2016-11-23 7:53 Sergey Smolov
2016-11-23 11:26 ` Alex Bennée
2016-11-23 11:28 ` Alex Bennée
0 siblings, 2 replies; 3+ messages in thread
From: Sergey Smolov @ 2016-11-23 7:53 UTC (permalink / raw)
To: QEMU Developers
Hello, List!
I have a subset of Aarch64 registers and I need to print something to
QEMU log every time the emulator writes new data to them.
Is this problem fully or partially solvable in QEMU?
What QEMU components should I look inside to implement this?
Thanks in advance!
--
Sincerely yours,
Sergey Smolov
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] log every write to Aarch64 regs
2016-11-23 7:53 [Qemu-devel] log every write to Aarch64 regs Sergey Smolov
@ 2016-11-23 11:26 ` Alex Bennée
2016-11-23 11:28 ` Alex Bennée
1 sibling, 0 replies; 3+ messages in thread
From: Alex Bennée @ 2016-11-23 11:26 UTC (permalink / raw)
To: Sergey Smolov; +Cc: QEMU Developers
Sergey Smolov <smolov@ispras.ru> writes:
> Hello, List!
>
> I have a subset of Aarch64 registers and I need to print something to
> QEMU log every time the emulator writes new data to them.
>
> Is this problem fully or partially solvable in QEMU?
>
> What QEMU components should I look inside to implement this?
For local experimentation you can use plain fprintf's or qemu_log. If
you want something more performance orientated you'll want to look at
the tracing infrastructure. See docs/tracing.txt in the source tree.
>
> Thanks in advance!
--
Alex Bennée
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] log every write to Aarch64 regs
2016-11-23 7:53 [Qemu-devel] log every write to Aarch64 regs Sergey Smolov
2016-11-23 11:26 ` Alex Bennée
@ 2016-11-23 11:28 ` Alex Bennée
1 sibling, 0 replies; 3+ messages in thread
From: Alex Bennée @ 2016-11-23 11:28 UTC (permalink / raw)
To: Sergey Smolov; +Cc: QEMU Developers
Sergey Smolov <smolov@ispras.ru> writes:
> Hello, List!
>
> I have a subset of Aarch64 registers and I need to print something to
> QEMU log every time the emulator writes new data to them.
Sorry I forgot to ask what the subset was? System registers are generally
easier as they tend to end up in helpers. Also this is slightly
different for KVM and TCG based guests.
>
> Is this problem fully or partially solvable in QEMU?
>
> What QEMU components should I look inside to implement this?
>
> Thanks in advance!
--
Alex Bennée
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-23 11:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-23 7:53 [Qemu-devel] log every write to Aarch64 regs Sergey Smolov
2016-11-23 11:26 ` Alex Bennée
2016-11-23 11:28 ` Alex Bennée
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.