diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-21 12:29:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-21 12:29:52 -0700 |
commit | ce3d90a87776053ec367c0eb083d389e9979c7e9 (patch) | |
tree | 49515b1d892b847b7bd7bb0d21db4770e48b3995 /tools | |
parent | 4f1e0c18bc8324ae05646c34759fd8dbe87f6582 (diff) | |
parent | 21a1994b6492b12e55dbf39d15271430ef6839f0 (diff) |
Merge tag 'trace-tools-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing tool update from Steven Rostedt:
- Make dot2c generate monitor's automata definition static
* tag 'trace-tools-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
rv/dot2c: Make automaton definition static
Diffstat (limited to 'tools')
-rw-r--r-- | tools/verification/dot2/dot2c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/verification/dot2/dot2c.py b/tools/verification/dot2/dot2c.py index fa73353f7e56..be8a364a469b 100644 --- a/tools/verification/dot2/dot2c.py +++ b/tools/verification/dot2/dot2c.py @@ -111,7 +111,7 @@ class Dot2c(Automata): def format_aut_init_header(self): buff = [] - buff.append("struct %s %s = {" % (self.struct_automaton_def, self.var_automaton_def)) + buff.append("static struct %s %s = {" % (self.struct_automaton_def, self.var_automaton_def)) return buff def __get_string_vector_per_line_content(self, buff): |