diff options
author | Josh Poimboeuf <jpoimboe@kernel.org> | 2025-08-20 14:03:39 -0400 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-08-26 09:51:12 +0200 |
commit | e649bcda25b5ae1a30a182cc450f928a0b282c93 (patch) | |
tree | 18905804b3848dc99b96652624de4db13a5b377f /rust/helpers/helpers.c | |
parent | f49e1be19542487921e82b29004908966cb99d7c (diff) |
perf: Remove get_perf_callchain() init_nr argument
The 'init_nr' argument has double duty: it's used to initialize both the
number of contexts and the number of stack entries. That's confusing
and the callers always pass zero anyway. Hard code the zero.
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Namhyung Kim <Namhyung@kernel.org>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/r/20250820180428.259565081@kernel.org
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions