Skip to content

Commit

Permalink
Merge pull request iovisor#1879 from bobrik/llcstat-see-also
Browse files Browse the repository at this point in the history
Mention perf as universal counting tool in llcstat
  • Loading branch information
4ast committed Jul 10, 2018
2 parents 1d2ab52 + 41d462b commit 613367e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions man/man8/llcstat.8
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ Linux
Unstable - in development.
.SH AUTHOR
Teng Qin
.SH SEE ALSO
.TP
Perf can be used as a generic event counter tool. An example for LLC:
#
.B perf top -e cache-misses -e cache-references -a -ns pid,cpu,comm
2 changes: 2 additions & 0 deletions tools/llcstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#
# For Linux, uses BCC, eBPF. Embedded C.
#
# SEE ALSO: perf top -e cache-misses -e cache-references -a -ns pid,cpu,comm
#
# REQUIRES: Linux 4.9+ (BPF_PROG_TYPE_PERF_EVENT support).
#
# Copyright (c) 2016 Facebook, Inc.
Expand Down

0 comments on commit 613367e

Please sign in to comment.