1d899926fSFrancis Deslauriers // SPDX-License-Identifier: GPL-2.0 2*7d8b31b7SArnd Bergmann 3*7d8b31b7SArnd Bergmann #include "trace_kprobe_selftest.h" 4*7d8b31b7SArnd Bergmann 5d899926fSFrancis Deslauriers /* 6d899926fSFrancis Deslauriers * Function used during the kprobe self test. This function is in a separate 7d899926fSFrancis Deslauriers * compile unit so it can be compile with CC_FLAGS_FTRACE to ensure that it 8d899926fSFrancis Deslauriers * can be probed by the selftests. 9d899926fSFrancis Deslauriers */ 10d899926fSFrancis Deslauriers int kprobe_trace_selftest_target(int a1, int a2, int a3, int a4, int a5, int a6) 11d899926fSFrancis Deslauriers { 12d899926fSFrancis Deslauriers return a1 + a2 + a3 + a4 + a5 + a6; 13d899926fSFrancis Deslauriers } 14