Skip to content

Commit

Permalink
Merge tag 'trace-tools-6.1-rc1' of git://git.kernel.org/pub/scm/linux…
Browse files Browse the repository at this point in the history
…/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
  • Loading branch information
Linus Torvalds committed Oct 21, 2022
2 parents 4f1e0c1 + 21a1994 commit ce3d90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/verification/dot2/dot2c.py
Original file line number Diff line number Diff line change
@@ -111,7 +111,7 @@ def format_automaton_definition(self):

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):

0 comments on commit ce3d90a

Please sign in to comment.