^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Function used during the kprobe self test. This function is in a separate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * compile unit so it can be compile with CC_FLAGS_FTRACE to ensure that it
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * can be probed by the selftests.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) int kprobe_trace_selftest_target(int a1, int a2, int a3, int a4, int a5, int a6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) return a1 + a2 + a3 + a4 + a5 + a6;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) }