blob: 672c37bbf24b91ca78b134517e3e7ce32e01472b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
graphic: 0.953
device: 0.829
PID: 0.825
ppc: 0.814
files: 0.641
debug: 0.616
vnc: 0.607
semantic: 0.580
performance: 0.553
TCG: 0.527
arm: 0.511
network: 0.506
architecture: 0.498
register: 0.444
peripherals: 0.443
user-level: 0.420
i386: 0.404
risc-v: 0.370
socket: 0.359
VMM: 0.319
hypervisor: 0.303
x86: 0.297
mistranslation: 0.255
kernel: 0.255
permissions: 0.250
boot: 0.239
KVM: 0.223
virtual: 0.163
assembly: 0.029
simpletrace.py does nothing, and syntax error when called from bash script
Description of problem:
The simpletrace python script appears to do nothing when I run it as above.
It appears to run (but do nothing) when called from my terminal but there is also a syntax error when I run it from the bash script above.
```
SyntaxError: invalid syntax
File "<fstring>", line 1
(pid=)
^
```
I think this syntax error is caused by the line `print(f'{event.name} {delta_ns / 1000:0.3f} {pid=} ' + ' '.join(fields))`
Additional information:
|