Skip to content

Commit 41a4d2d

Browse files
glemcorostedt
authored andcommitted
rv: Add license identifiers to monitor files
Some monitor files like the main header and the Kconfig are missing the license identifier. Add it to those and make sure the automatic generation script includes the line in newly created monitors. Cc: Masami Hiramatsu <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Juri Lelli <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Gabriele Monaco <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent 486df34 commit 41a4d2d

File tree

6 files changed

+9
-0
lines changed

6 files changed

+9
-0
lines changed

kernel/trace/rv/monitors/wip/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
#
13
config RV_MON_WIP
24
depends on RV
35
depends on PREEMPT_TRACER

kernel/trace/rv/monitors/wip/wip.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* SPDX-License-Identifier: GPL-2.0 */
12
/*
23
* Automatically generated C representation of wip automaton
34
* For further information about this format, see kernel documentation:

kernel/trace/rv/monitors/wwnr/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
#
13
config RV_MON_WWNR
24
depends on RV
35
select DA_MON_EVENTS_ID

kernel/trace/rv/monitors/wwnr/wwnr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* SPDX-License-Identifier: GPL-2.0 */
12
/*
23
* Automatically generated C representation of wwnr automaton
34
* For further information about this format, see kernel documentation:

tools/verification/dot2/dot2k.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def fill_main_c(self):
160160

161161
def fill_model_h_header(self):
162162
buff = []
163+
buff.append("/* SPDX-License-Identifier: GPL-2.0 */")
163164
buff.append("/*")
164165
buff.append(" * Automatically generated C representation of %s automaton" % (self.name))
165166
buff.append(" * For further information about this format, see kernel documentation:")

tools/verification/dot2/dot2k_templates/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
#
13
config RV_MON_%%MODEL_NAME_UP%%
24
depends on RV
35
select %%MONITOR_CLASS_TYPE%%

0 commit comments

Comments
 (0)