blob: 29a36e6249fa7dd53d539aae47cd2bf9442dc9b6 (
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
|
graphic: 0.953
device: 0.829
instruction: 0.727
vnc: 0.607
semantic: 0.580
network: 0.506
other: 0.439
socket: 0.359
mistranslation: 0.255
boot: 0.239
KVM: 0.223
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:
|