[PATCH v1] perf tools: Add the legacy-cache.json to .gitignore

Haiyue Wang posted 1 patch 2 months ago
tools/perf/.gitignore | 1 +
1 file changed, 1 insertion(+)
[PATCH v1] perf tools: Add the legacy-cache.json to .gitignore
Posted by Haiyue Wang 2 months ago
The commit 0012e0fa221b ("perf jevents: Add legacy-hardware and legacy-cache json")
will auto-generate: "pmu-events/arch/common/common/legacy-cache.json".

Signed-off-by: Haiyue Wang <haiyuewa@163.com>
---
 tools/perf/.gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore
index b64302a76144..5c59f954f52a 100644
--- a/tools/perf/.gitignore
+++ b/tools/perf/.gitignore
@@ -36,6 +36,7 @@ config.mak.autogen
 util/intel-pt-decoder/inat-tables.c
 arch/*/include/generated/
 trace/beauty/generated/
+pmu-events/arch/common/common/legacy-cache.json
 pmu-events/pmu-events.c
 pmu-events/jevents
 pmu-events/metric_test.log
-- 
2.52.0
Re: [PATCH v1] perf tools: Add the legacy-cache.json to .gitignore
Posted by James Clark 2 months ago

On 08/12/2025 2:15 am, Haiyue Wang wrote:
> The commit 0012e0fa221b ("perf jevents: Add legacy-hardware and legacy-cache json")
> will auto-generate: "pmu-events/arch/common/common/legacy-cache.json".
> 
> Signed-off-by: Haiyue Wang <haiyuewa@163.com>
> ---
>   tools/perf/.gitignore | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore
> index b64302a76144..5c59f954f52a 100644
> --- a/tools/perf/.gitignore
> +++ b/tools/perf/.gitignore
> @@ -36,6 +36,7 @@ config.mak.autogen
>   util/intel-pt-decoder/inat-tables.c
>   arch/*/include/generated/
>   trace/beauty/generated/
> +pmu-events/arch/common/common/legacy-cache.json
>   pmu-events/pmu-events.c
>   pmu-events/jevents
>   pmu-events/metric_test.log

Reviewed-by: James Clark <james.clark@linaro.org>
Re: [PATCH v1] perf tools: Add the legacy-cache.json to .gitignore
Posted by Arnaldo Carvalho de Melo 2 weeks, 4 days ago
On Tue, Dec 09, 2025 at 12:55:45PM +0000, James Clark wrote:
> 
> 
> On 08/12/2025 2:15 am, Haiyue Wang wrote:
> > The commit 0012e0fa221b ("perf jevents: Add legacy-hardware and legacy-cache json")
> > will auto-generate: "pmu-events/arch/common/common/legacy-cache.json".
> > 
> > Signed-off-by: Haiyue Wang <haiyuewa@163.com>
> > ---
> >   tools/perf/.gitignore | 1 +
> >   1 file changed, 1 insertion(+)
> > 
> > diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore
> > index b64302a76144..5c59f954f52a 100644
> > --- a/tools/perf/.gitignore
> > +++ b/tools/perf/.gitignore
> > @@ -36,6 +36,7 @@ config.mak.autogen
> >   util/intel-pt-decoder/inat-tables.c
> >   arch/*/include/generated/
> >   trace/beauty/generated/
> > +pmu-events/arch/common/common/legacy-cache.json
> >   pmu-events/pmu-events.c
> >   pmu-events/jevents
> >   pmu-events/metric_test.log
> 
> Reviewed-by: James Clark <james.clark@linaro.org>

Thanks, applied to perf-tools-next,

- Arnaldo