qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* QEMU function trace
@ 2022-12-13 12:25 wanghw364
  2022-12-13 16:44 ` Alex Bennée
  0 siblings, 1 reply; 8+ messages in thread
From: wanghw364 @ 2022-12-13 12:25 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]




Hi all,


Does qemu-system-riscv64 have any plugin or tools that can support target program function trace feature?


It seems there is no such feature under link:https://gitlab.com/qemu-project/qemu/-/blob/master/docs/devel/tcg-plugins.rst


For example, we can use libexeclog.so plugin to trace target program instruction trace.


In my case, when I boot linux kernel with qemu, it hangs in the halfway, but I don't know the hang position in the code, 


so I want to trace the kernel function calling trace so that I can find out when and where execution diverges.






Thanks. 

















[-- Attachment #2: Type: text/html, Size: 1620 bytes --]

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

end of thread, other threads:[~2022-12-14 18:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-13 12:25 QEMU function trace wanghw364
2022-12-13 16:44 ` Alex Bennée
2022-12-14  9:04   ` wanghw364
2022-12-14 10:04     ` Alex Bennée
2022-12-14 11:00       ` Alex Bennée
2022-12-14 12:35         ` Claudio Fontana
2022-12-14 16:03           ` Alex Bennée
2022-12-14 18:04             ` wanghw364

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).