Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加运行时参数,降低内核负载 #499

Merged
merged 11 commits into from
Aug 21, 2023

Conversation

Cheny-chui
Copy link
Contributor

Pull Request Template

Description

Ref #498

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Copy link
Member

@helight helight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

sudo timeout -s SIGINT 20 ./tcpwatch || if [[ $? != 124 && $? != 0 ]];then exit $?;fi
sudo timeout -s SIGINT 5 ./tcpwatch || if [[ $? != 124 && $? != 0 ]];then exit $?;fi
sudo timeout -s SIGINT 5 ./tcpwatch -a || if [[ $? != 124 && $? != 0 ]];then exit $?;fi
sudo timeout -s SIGINT 5 ./tcpwatch -e || if [[ $? != 124 && $? != 0 ]];then exit $?;fi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些建议可以写到 makefile 中,这样这几 make test 或者 make runtest 来执行,这些代码其他人 git 下载下来也可以直接使用,这里写只能在 github 的流水线上使用。

@helight helight merged commit 91bdf96 into linuxkerneltravel:develop Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants