You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jibanes@wopr:~$ sudo ./opensnoop -d 1 omfg
Tracing open()s for filenames containing "omfg" for 1 seconds (buffered)...
COMM PID FD FILE
mawk: line 19: syntax error at or near ,
Ending tracing...
The text was updated successfully, but these errors were encountered:
Still doesn't work either with mawk or awk:
Using of -d seems to enable mawk in bash script.
opensnoop-perf -d 10 firefox
Tracing open()s for filenames containing "firefox" for 10 seconds (buffered)...
COMM PID FD FILE
mawk: line 19: syntax error at or near ,
^C
Ending tracing...
# opensnoop-perf firefox
Tracing open()s for filenames containing "firefox". Ctrl-C to end.
COMM PID FD FILE
awk: line 19: syntax error at or near ,
Ending tracing...
Ubuntu 2020, perf-tools-unstable/focal,focal,now 1.0.1~20200130+git49b8cdf-1ubuntu1 all [installed],
Kernel: 5.4.0-52-generic
UPDATE: installing gawk via apt and hardcoding use=gawk in opensnoop-perf bash script seems to solve issue.
jibanes@wopr:~$ sudo ./opensnoop -d 1 omfg
Tracing open()s for filenames containing "omfg" for 1 seconds (buffered)...
COMM PID FD FILE
mawk: line 19: syntax error at or near ,
Ending tracing...
The text was updated successfully, but these errors were encountered: