diff --git a/tools/gethostlatency.py b/tools/gethostlatency.py index 965c0db942cf..f7506a868392 100755 --- a/tools/gethostlatency.py +++ b/tools/gethostlatency.py @@ -21,7 +21,7 @@ import argparse examples = """examples: - ./gethostlatency # trace all TCP accept()s + ./gethostlatency # time getaddrinfo/gethostbyname[2] calls ./gethostlatency -p 181 # only trace PID 181 """ parser = argparse.ArgumentParser( diff --git a/tools/gethostlatency_example.txt b/tools/gethostlatency_example.txt index debb2df1c8d7..49302c620870 100644 --- a/tools/gethostlatency_example.txt +++ b/tools/gethostlatency_example.txt @@ -33,5 +33,5 @@ optional arguments: -p PID, --pid PID trace this PID only examples: - ./gethostlatency # trace all TCP accept()s + ./gethostlatency # time getaddrinfo/gethostbyname[2] calls ./gethostlatency -p 181 # only trace PID 181