[PATCH v2] perf arm: Fix include path

Ian Rogers posted 1 patch 2 years, 8 months ago
tools/perf/arch/arm/util/pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] perf arm: Fix include path
Posted by Ian Rogers 2 years, 8 months ago
Change "../cs-etm.h" to just "../../../util/cs-etm.h" as ../cs-etm.h
doesn't exist.

Suggested-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Leo Yan <leo.yan@linaro.org>
---
 tools/perf/arch/arm/util/pmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/arch/arm/util/pmu.c b/tools/perf/arch/arm/util/pmu.c
index 860a8b42b4b5..a9623b128ece 100644
--- a/tools/perf/arch/arm/util/pmu.c
+++ b/tools/perf/arch/arm/util/pmu.c
@@ -12,7 +12,7 @@
 #include "arm-spe.h"
 #include "hisi-ptt.h"
 #include "../../../util/pmu.h"
-#include "../cs-etm.h"
+#include "../../../util/cs-etm.h"
 
 struct perf_event_attr
 *perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused)
-- 
2.40.1.606.ga4b1b128d6-goog
Re: [PATCH v2] perf arm: Fix include path
Posted by Arnaldo Carvalho de Melo 2 years, 8 months ago
Em Mon, May 15, 2023 at 09:50:39AM -0700, Ian Rogers escreveu:
> Change "../cs-etm.h" to just "../../../util/cs-etm.h" as ../cs-etm.h
> doesn't exist.

Thanks, applied.

- Arnaldo

 
> Suggested-by: Leo Yan <leo.yan@linaro.org>
> Signed-off-by: Ian Rogers <irogers@google.com>
> Reviewed-by: Leo Yan <leo.yan@linaro.org>
> ---
>  tools/perf/arch/arm/util/pmu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/arch/arm/util/pmu.c b/tools/perf/arch/arm/util/pmu.c
> index 860a8b42b4b5..a9623b128ece 100644
> --- a/tools/perf/arch/arm/util/pmu.c
> +++ b/tools/perf/arch/arm/util/pmu.c
> @@ -12,7 +12,7 @@
>  #include "arm-spe.h"
>  #include "hisi-ptt.h"
>  #include "../../../util/pmu.h"
> -#include "../cs-etm.h"
> +#include "../../../util/cs-etm.h"
>  
>  struct perf_event_attr
>  *perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused)
> -- 
> 2.40.1.606.ga4b1b128d6-goog
> 

-- 

- Arnaldo