Skip to content

Commit

Permalink
tools: fix confusion between execsnoop and opensnoop
Browse files Browse the repository at this point in the history
The execsnoop documentation mispelled 'execsnoop' as 'opensnoop'.

Bug introduced by #2651
  • Loading branch information
alban authored and yonghong-song committed Feb 19, 2020
1 parent 29aa619 commit b26b429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/execsnoop.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
./execsnoop -q # add "quotemarks" around arguments
./execsnoop -n main # only print command lines containing "main"
./execsnoop -l tpkg # only print command where arguments contains "tpkg"
./opensnoop --cgroupmap ./mappath # only trace cgroups in this BPF map
./execsnoop --cgroupmap ./mappath # only trace cgroups in this BPF map
"""
parser = argparse.ArgumentParser(
description="Trace exec() syscalls",
Expand Down

0 comments on commit b26b429

Please sign in to comment.