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>
This commit is contained in:
parent
9a879710ab
commit
9f0b3909d9
@ -25,8 +25,6 @@
|
||||
#include <linux/soc/qcom/smem.h>
|
||||
#include <linux/soc/qcom/smem_state.h>
|
||||
#include <linux/soc/qcom/qcom_aoss.h>
|
||||
|
||||
#define CREATE_TRACE_POINTS
|
||||
#include <trace/events/rproc_qcom.h>
|
||||
|
||||
#include "qcom_common.h"
|
||||
|
@ -12,8 +12,6 @@
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/rpmsg.h>
|
||||
|
||||
#define CREATE_TRACE_POINTS
|
||||
#include <trace/events/rproc_qcom.h>
|
||||
|
||||
#include "qcom_common.h"
|
||||
|
@ -7,3 +7,5 @@
|
||||
|
||||
#define CREATE_TRACE_POINTS
|
||||
#include <trace/events/rproc_qcom.h>
|
||||
|
||||
EXPORT_TRACEPOINT_SYMBOL(rproc_qcom_event);
|
||||
|
Loading…
Reference in New Issue
Block a user