soc: qcom: hyp_core_ctl: Move the trace file to the local directory

The hyp_core_ctl trace file uses a structure that is only defined
internally in the file so it does not pass KERNEL_HEADER_TEST in the
global header location. Since it is only used by this one file it
can be safely moved to the local directory.

Change-Id: Ic0dedbad4285ffcc750839ebc673029193733437
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
Jordan Crouse 2020-04-14 14:31:06 -06:00
commit e99d0d6492
2 changed files with 6 additions and 2 deletions

View file

@ -73,7 +73,7 @@ struct hyp_core_ctl_data {
};
#define CREATE_TRACE_POINTS
#include <trace/events/hyp_core_ctl.h>
#include "hyp_core_ctl_trace.h"
static struct hyp_core_ctl_data *the_hcd;
static struct hyp_core_ctl_cpu_map hh_cpumap[NR_CPUS];

View file

@ -1,10 +1,14 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
*Copyright (c) 2018 The Linux Foundation. All rights reserved.
*Copyright (c) 2018,2020 The Linux Foundation. All rights reserved.
*/
#undef TRACE_SYSTEM
#define TRACE_SYSTEM hyp_core_ctl
#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE hyp_core_ctl_trace
#if !defined(_TRACE_HYP_CORE_CTL_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_HYP_CORE_CTL_H