Skip to content

Conversation

@ksub42
Copy link
Collaborator

@ksub42 ksub42 commented May 13, 2023

  1. Included mountstats & nfsstats in the logs that we collect.
  2. Cleaned up code and fixed two misc bugs (one in arg parsing, one in killing tcpdump).
  3. Fixed Python invocation to be independend of the actual location of the Python interpreter in trace-nfsbpf.

  1. Included mountstats & nfsstats in the logs that we collect.
  2. Cleaned up code and fixed two misc bugs (one in arg parsing,
     one in killing tcpdump).
  3. Fixed Python invocation to be independend of the actual location of
     the Python interpreter in trace-nfsbpf.
# trace-nfsbpf
ABSOLUTE_PATH="$(cd "$(dirname "trace-nfsbpf")" && pwd)/$(basename "trace-nfsbpf")"
progfile2="nohup $ABSOLUTE_PATH"
NFSBPF_ABSOLUTE_PATH="$(cd "$(dirname "trace-nfsbpf")" && pwd)/$(basename "trace-nfsbpf")"
Copy link
Collaborator

Choose a reason for hiding this comment

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

why not simply do:
$ realpath trace-nfsbpf

Copy link
Collaborator

@sprasad-microsoft sprasad-microsoft left a comment

Choose a reason for hiding this comment

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

Overall changes look good. Just had a minor comment.
Please do some testing and merge the changes.

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