diff options
author | Namhyung Kim <namhyung@kernel.org> | 2023-04-06 14:06:06 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-04-06 21:52:23 -0300 |
commit | 84b91920304f5e640ac922cb721f5c70617a83e8 (patch) | |
tree | bb93acce49386a5df60cb48f0c0ed919256d44ec /tools/perf/Documentation | |
parent | d783ea8f62c4e58cea1d04567048368691128d5e (diff) | |
download | lwn-84b91920304f5e640ac922cb721f5c70617a83e8.tar.gz lwn-84b91920304f5e640ac922cb721f5c70617a83e8.zip |
perf lock contention: Use -M for --map-nr-entries
Users often want to change the map size, let's add a short option (-M)
for that.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Hao Luo <haoluo@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <song@kernel.org>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20230406210611.1622492-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r-- | tools/perf/Documentation/perf-lock.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-lock.txt b/tools/perf/Documentation/perf-lock.txt index 37aae194a2a1..b5e5d088d51c 100644 --- a/tools/perf/Documentation/perf-lock.txt +++ b/tools/perf/Documentation/perf-lock.txt @@ -155,6 +155,7 @@ CONTENTION OPTIONS --tid=<value>:: Record events on existing thread ID (comma separated list). +-M:: --map-nr-entries=<value>:: Maximum number of BPF map entries (default: 10240). |