[PATCH 07/13] ASoC: Intel: catpt: Event tracing

Cezary Rojewski cezary.rojewski at intel.com
Mon Aug 10 09:16:47 CEST 2020


On 2020-08-07 5:09 PM, Mark Brown wrote:
> On Fri, Aug 07, 2020 at 01:06:43PM +0200, Cezary Rojewski wrote:
>> Define tracing macros for easy catpt debug. These are divided into
>> memory, registry and ipc event categories.
>>
>> Signed-off-by: Cezary Rojewski <cezary.rojewski at intel.com>
>> ---
>>   sound/soc/intel/catpt/trace.h | 169 ++++++++++++++++++++++++++++++++++
> 
> Usually events go into include/trace/events/
> 

Thought TRACE_INCLUDE_FILE/ _PATH are designed specifically to remove 
the need for trace.h to go into mentioned folder. Based my decision on 
fact that sound/hda and sound/core have their traces defined locally.

What's the preferred way?

>> +/* SPDX-License-Identifier: GPL-2.0
> 
> This needs to be a separate comment to match the spec.
> 

Ack.


More information about the Alsa-devel mailing list