awslabs / damo

DAMON user-space tool
https://damonitor.github.io/
GNU General Public License v2.0
155 stars 26 forks source link

When i run damon record, some errors had happened #24

Closed frankQAQ-wang closed 3 years ago

frankQAQ-wang commented 3 years ago

root@debian:~/user-damon# ./damo/damo record 1 Traceback (most recent call last): File "./damo/damo", line 59, in record.main(args) File "/root/user-damon/damo/record.py", line 140, in main new_attrs = _damon.cmd_args_to_attrs(args) File "/root/user-damon/damo/_damon.py", line 251, in cmd_args_to_attrs schemes = args.schemes AttributeError: 'Namespace' object has no attribute 'schemes'

frankQAQ-wang commented 3 years ago

commit 2773e71a69c6ca3f447e7903a77412a3ed92df90 make this mistake

sj-aws commented 3 years ago

Thank you for the report! I just confirmed and fixed the issue with this commit: https://github.com/awslabs/damo/commit/d317c4a83ffed603bf01b0422353f57e12397a43

If the issue is not fixed on your machine, please open this again.