[PATCH v1] perf tools: Add the empty-pmu-events build to .gitignore

Haiyue Wang posted 1 patch 2 weeks, 5 days ago
There is a newer version of this series
tools/perf/.gitignore | 2 ++
1 file changed, 2 insertions(+)
[PATCH v1] perf tools: Add the empty-pmu-events build to .gitignore
Posted by Haiyue Wang 2 weeks, 5 days ago
The commit 0fe881f10ceb ("perf jevents: Autogenerate empty-pmu-events.c")
build will generate two files, add them to .gitignore:

	tools/perf/pmu-events/empty-pmu-events.log
	tools/perf/pmu-events/test-empty-pmu-events.c

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

diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore
index f5b81d439387..51713b655f62 100644
--- a/tools/perf/.gitignore
+++ b/tools/perf/.gitignore
@@ -39,6 +39,8 @@ trace/beauty/generated/
 pmu-events/pmu-events.c
 pmu-events/jevents
 pmu-events/metric_test.log
+pmu-events/empty-pmu-events.log
+pmu-events/test-empty-pmu-events.c
 tests/shell/*.shellcheck_log
 tests/shell/coresight/*.shellcheck_log
 tests/shell/lib/*.shellcheck_log
-- 
2.47.0
Re: [PATCH v1] perf tools: Add the empty-pmu-events build to .gitignore
Posted by Namhyung Kim 2 weeks, 4 days ago
Hello,

On Tue, Nov 05, 2024 at 01:24:05PM +0800, Haiyue Wang wrote:
> The commit 0fe881f10ceb ("perf jevents: Autogenerate empty-pmu-events.c")
> build will generate two files, add them to .gitignore:
> 
> 	tools/perf/pmu-events/empty-pmu-events.log
> 	tools/perf/pmu-events/test-empty-pmu-events.c
> 
> Signed-off-by: Haiyue Wang <haiyuewa@163.com>

It doesn't apply to the current perf-tools-next.  Can you please rebase?

Thanks,
Namhyung

> ---
>  tools/perf/.gitignore | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore
> index f5b81d439387..51713b655f62 100644
> --- a/tools/perf/.gitignore
> +++ b/tools/perf/.gitignore
> @@ -39,6 +39,8 @@ trace/beauty/generated/
>  pmu-events/pmu-events.c
>  pmu-events/jevents
>  pmu-events/metric_test.log
> +pmu-events/empty-pmu-events.log
> +pmu-events/test-empty-pmu-events.c
>  tests/shell/*.shellcheck_log
>  tests/shell/coresight/*.shellcheck_log
>  tests/shell/lib/*.shellcheck_log
> -- 
> 2.47.0
>
Re: [PATCH v1] perf tools: Add the empty-pmu-events build to .gitignore
Posted by Ian Rogers 2 weeks, 5 days ago
On Mon, Nov 4, 2024 at 9:25 PM Haiyue Wang <haiyuewa@163.com> wrote:
>
> The commit 0fe881f10ceb ("perf jevents: Autogenerate empty-pmu-events.c")
> build will generate two files, add them to .gitignore:
>
>         tools/perf/pmu-events/empty-pmu-events.log
>         tools/perf/pmu-events/test-empty-pmu-events.c
>
> Signed-off-by: Haiyue Wang <haiyuewa@163.com>

Reviewed-by: Ian Rogers <irogers@google.com>

Thanks,
Ian

> ---
>  tools/perf/.gitignore | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore
> index f5b81d439387..51713b655f62 100644
> --- a/tools/perf/.gitignore
> +++ b/tools/perf/.gitignore
> @@ -39,6 +39,8 @@ trace/beauty/generated/
>  pmu-events/pmu-events.c
>  pmu-events/jevents
>  pmu-events/metric_test.log
> +pmu-events/empty-pmu-events.log
> +pmu-events/test-empty-pmu-events.c
>  tests/shell/*.shellcheck_log
>  tests/shell/coresight/*.shellcheck_log
>  tests/shell/lib/*.shellcheck_log
> --
> 2.47.0
>