blob: 4a38759b4ff39606439c2bd2fccdb700b1b91ede (
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
|
graphic: 0.953
device: 0.829
PID: 0.825
files: 0.641
debug: 0.616
vnc: 0.607
semantic: 0.580
performance: 0.553
network: 0.506
other: 0.439
socket: 0.359
permissions: 0.250
boot: 0.239
KVM: 0.223
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:
|