android_kernel_xiaomi_sm8450/drivers/remoteproc/qcom_tracepoints.c
Siddharth Gupta 9f0b3909d9 remoteproc: qcom: Fix qcom remoteproc tracepoints
The tracepoints should only be created once, i.e.,
`#define CREATE_TRACE_POINTS`
should only exist in one source file. This change fixes the
qcom tracepoints to export the tracepoint event rather than
defining the creation in qcom_common and qcom_sysmon source
files.

Fixes: 1b5996a813 ('remoteproc: qcom: Add subdevice tracing')
Change-Id: Ic0198df61585d9b6b6f3ae9a3170a9df8b8488ff
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
2021-09-10 14:27:52 -07:00

12 lines
290 B
C

// SPDX-License-Identifier: GPL-2.0-only
/*
* Qualcomm Technologies, Inc. Peripheral Image Loader helpers
*
* Copyright (c) 2021 The Linux Foundation. All rights reserved.
*/
#define CREATE_TRACE_POINTS
#include <trace/events/rproc_qcom.h>
EXPORT_TRACEPOINT_SYMBOL(rproc_qcom_event);