diff options
author | Namhyung Kim <namhyung@kernel.org> | 2022-08-02 12:10:03 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-08-02 18:02:59 -0300 |
commit | ceb13bfc01d55388092c00796a5b76aa3dfa483a (patch) | |
tree | f976ddbe504a06bc61688ed7abd532767d4aaef7 /tools/perf/util/lock-contention.h | |
parent | 447ec4e5fa339b30537d899447e73a103edef6d8 (diff) |
perf lock: Add --map-nr-entries option
The --map-nr-entries option is to control number of max entries in the
perf lock contention BPF maps.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Blake Jones <blakejones@google.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: Waiman Long <longman@redhat.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20220802191004.347740-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/lock-contention.h')
-rw-r--r-- | tools/perf/util/lock-contention.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/lock-contention.h b/tools/perf/util/lock-contention.h index a0df5308cca4..8de8550f5ef8 100644 --- a/tools/perf/util/lock-contention.h +++ b/tools/perf/util/lock-contention.h @@ -112,6 +112,7 @@ struct lock_contention { struct target *target; struct machine *machine; struct hlist_head *result; + unsigned long map_nr_entries; }; #ifdef HAVE_BPF_SKEL |