Skip to content

Commit

Permalink
Merge pull request iovisor#2960 from jeromemarchand/misc-doc-fixes
Browse files Browse the repository at this point in the history
Misc doc fixes
  • Loading branch information
yonghong-song committed Jun 10, 2020
2 parents c9805f4 + 7830947 commit 26b8763
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion man/man8/tcpconnect.8
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.SH NAME
tcpconnect \- Trace TCP active connections (connect()). Uses Linux eBPF/bcc.
.SH SYNOPSIS
.B tcpconnect [\-h] [\-c] [\-t] [\-x] [\-p PID] [-P PORT] [\-\-cgroupmap MAPPATH] [\-\-mntnsmap MAPPATH]
.B tcpconnect [\-h] [\-c] [\-t] [\-p PID] [-P PORT] [\-\-cgroupmap MAPPATH] [\-\-mntnsmap MAPPATH]
.SH DESCRIPTION
This tool traces active TCP connections (eg, via a connect() syscall;
accept() are passive connections). This can be useful for general
Expand Down
3 changes: 2 additions & 1 deletion src/cc/frontends/clang/loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ int ClangLoader::parse(unique_ptr<llvm::Module> *mod, TableStorage &ts,
kpath = tmpdir;
} else {
std::cout << "Unable to find kernel headers. ";
std::cout << "Try rebuilding kernel with CONFIG_IKHEADERS=m (module)\n";
std::cout << "Try rebuilding kernel with CONFIG_IKHEADERS=m (module) ";
std::cout << "or installing the kernel development package for your running kernel version.\n";
}
}

Expand Down
2 changes: 1 addition & 1 deletion tools/deadlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def main():
pid=args.pid,
)
except Exception as e:
print('%s. Failed to attach to symbol: %s' % (str(e), symbol))
print('%s. Failed to attach to symbol: %s\nIs --binary argument missing?' % (str(e), symbol))
sys.exit(1)
for symbol in args.lock_symbols:
try:
Expand Down

0 comments on commit 26b8763

Please sign in to comment.