commit | d3a133aa0e029e0bbb67170f5f18c8fcd4701370 | [log] [tgz] |
---|---|---|
author | Michal Suchanek <[email protected]> | Mon Apr 06 23:00:22 2020 +0200 |
committer | Michael Ellerman <[email protected]> | Thu Jul 30 22:53:49 2020 +1000 |
tree | bed697e7bd70061e09d75c9ec86e7bf5961dfd27 | |
parent | a0ff72f9f5a780341e7ff5e9ba50a0dad5fa1980 [diff] |
powerpc/perf: Consolidate perf_callchain_user_[64|32]() perf_callchain_user_64() and perf_callchain_user_32() are nearly identical. Consolidate into one function with thin wrappers. Suggested-by: Nicholas Piggin <[email protected]> Signed-off-by: Michal Suchanek <[email protected]> [mpe: Adapt to copy_from_user_nofault(), minor formatting] Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]