commit | 2de62aba50dd3be627c3f9c945fa5d1eb6e13c8d | [log] [tgz] |
---|---|---|
author | Josh Poimboeuf <jpoimboe@kernel.org> | Tue Nov 07 09:01:16 2023 -0800 |
committer | Josh Poimboeuf <jpoimboe@kernel.org> | Mon Dec 23 13:31:05 2024 -0800 |
tree | e26f5741834cc071e2cecb099f4eb5f6bb0f2152 | |
parent | 8cf7d3833beead2ccf9114148c22ec45ffc958a5 [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. Acked-by: Namhyung Kim <Namhyung@kernel.org> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>