mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 21:44:06 +08:00
ASoC: SOF: Intel: move tracepoint creation
CREATE_TRACEPOINTS is supposed to be used once. To avoid modpost issues when creating modules, let's move the tracepoint creation in a single object file. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/20240503135221.229202-6-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
0bfbe91a2d
commit
136b37369c
@ -7,7 +7,7 @@ snd-sof-intel-hda-common-objs := hda.o hda-loader.o hda-stream.o hda-trace.o \
|
||||
hda-dsp.o hda-ipc.o hda-ctrl.o hda-pcm.o \
|
||||
hda-dai.o hda-dai-ops.o hda-bus.o \
|
||||
hda-common-ops.o \
|
||||
telemetry.o
|
||||
telemetry.o tracepoints.o
|
||||
|
||||
snd-sof-intel-hda-mlink-objs := hda-mlink.o
|
||||
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "../ipc4-topology.h"
|
||||
#include "hda.h"
|
||||
|
||||
#define CREATE_TRACE_POINTS
|
||||
#include <trace/events/sof_intel.h>
|
||||
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA)
|
||||
|
3
sound/soc/sof/intel/tracepoints.c
Normal file
3
sound/soc/sof/intel/tracepoints.c
Normal file
@ -0,0 +1,3 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
#define CREATE_TRACE_POINTS
|
||||
#include <trace/events/sof_intel.h>
|
Loading…
Reference in New Issue
Block a user