diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-03 19:39:53 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-03 19:39:53 +0200 |
| commit | dee4dcba78baf712cab403d47d9db319ab7f95d6 (patch) | |
| tree | 418478faf06786701a56268672f73d6b0b4eb239 /results/classifier/118/debug/1748612 | |
| parent | 4d9e26c0333abd39bdbd039dcdb30ed429c475ba (diff) | |
| download | emulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.tar.gz emulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.zip | |
restructure results
Diffstat (limited to 'results/classifier/118/debug/1748612')
| -rw-r--r-- | results/classifier/118/debug/1748612 | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/results/classifier/118/debug/1748612 b/results/classifier/118/debug/1748612 deleted file mode 100644 index 15fec38f..00000000 --- a/results/classifier/118/debug/1748612 +++ /dev/null @@ -1,65 +0,0 @@ -user-level: 0.952 -debug: 0.940 -semantic: 0.937 -ppc: 0.937 -graphic: 0.923 -files: 0.911 -mistranslation: 0.898 -performance: 0.859 -architecture: 0.809 -hypervisor: 0.807 -device: 0.801 -register: 0.796 -KVM: 0.788 -risc-v: 0.780 -arm: 0.777 -TCG: 0.774 -i386: 0.771 -VMM: 0.763 -x86: 0.762 -kernel: 0.760 -permissions: 0.756 -network: 0.752 -socket: 0.743 -PID: 0.739 -vnc: 0.738 -peripherals: 0.722 -assembly: 0.674 -virtual: 0.563 -boot: 0.552 - -qemu-user option -strace -D <file> doesn't work - -I have been trying to access qemu -strace output from a script -The main problem was it was on stderr, the strace output was merged with my program's stderr output. -Then I tried to use the -D option, to log the output to a file. -This didn't work even if the log file was created, but it was empty. - -I have looked at the source code and found the print function was not qemu_log with -strace but gemu_log (to be clear it was GEMU NOT QEMU) - - -I have then replaced all gemu_log by qemu_log removed declaration of gemu_log and recompiled, it seems to works just fine right now. - -removed declaration here and here: -https://github.com/qemu/qemu/blob/master/linux-user/main.c#L108 -https://github.com/qemu/qemu/blob/master/linux-user/qemu.h#L203 - -This is intentional, more or less. The -D logfile is for the debug logs enabled with -d, not for strace. I think if we wanted to support redirecting strace output to a file we might need to have an extra argument, to avoid breaking existing users. - - -If this is not for strace, then why when I launch qemu as subprocess (example: from a python script) -with option -strace -D <file> it creates a log file called <file>-strace? Seems like a bug to me. -Anyway, I understand you don't want to break the current behavior, is there any chance this gets added in the near future? - - -If you use -D <file> it will create a file named <file>, which will contain any logs created via the qemu_log subsystem (which might be nothing at all, depending on what the guest does). I don't know where the "-strace" part would come from unless you specified it as part of the filename. - - -I will check that again, pretty sure I saw that. -Anyway any chance there is an option/fix for that? -Today it is impossible to differentiate strace output with program's stderr output, and it is causing trouble while used in scripts. - - -I think this has been fixed here: -https://git.qemu.org/?p=qemu.git;a=commitdiff;h=4b25a50674de41e72f6b3003 - |