[PATCH] tools/sched_ext: Update enum_defs.autogen.h

Changwoo Min posted 1 patch 10 months, 1 week ago
tools/sched_ext/include/scx/enum_defs.autogen.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
[PATCH] tools/sched_ext: Update enum_defs.autogen.h
Posted by Changwoo Min 10 months, 1 week ago
Add where the script is located to the comment lines of the header file.
This helps anyone re-generate the header file if required.

Note that this is a sync from the PR [1] in the scx repo.

  [1] https://github.com/sched-ext/scx/pull/1322

Signed-off-by: Changwoo Min <changwoo@igalia.com>
---
 tools/sched_ext/include/scx/enum_defs.autogen.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tools/sched_ext/include/scx/enum_defs.autogen.h b/tools/sched_ext/include/scx/enum_defs.autogen.h
index 5551816856ee..6e6c45f14fe1 100644
--- a/tools/sched_ext/include/scx/enum_defs.autogen.h
+++ b/tools/sched_ext/include/scx/enum_defs.autogen.h
@@ -1,11 +1,12 @@
 /*
- * WARNING: This file is autogenerated from scripts/gen_enum_defs.py.
+ * WARNING: This file is autogenerated from gen_enum_defs.py [1].
+ *
+ * [1] https://github.com/sched-ext/scx/blob/main/scripts/gen_enum_defs.py
  */
 
 #ifndef __ENUM_DEFS_AUTOGEN_H__
 #define __ENUM_DEFS_AUTOGEN_H__
 
-
 #define HAVE_SCX_DSP_DFL_MAX_BATCH
 #define HAVE_SCX_DSP_MAX_LOOPS
 #define HAVE_SCX_WATCHDOG_MAX_TIMEOUT
-- 
2.48.1
Re: [PATCH] tools/sched_ext: Update enum_defs.autogen.h
Posted by Tejun Heo 10 months, 1 week ago
On Mon, Feb 10, 2025 at 11:54:30PM +0900, Changwoo Min wrote:
> Add where the script is located to the comment lines of the header file.
> This helps anyone re-generate the header file if required.
> 
> Note that this is a sync from the PR [1] in the scx repo.
> 
>   [1] https://github.com/sched-ext/scx/pull/1322
> 
> Signed-off-by: Changwoo Min <changwoo@igalia.com>

Applied to sched_ext/for-6.15.

Thanks.

-- 
tejun