linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] rv/dot2c: Make automaton definition static
@ 2022-10-20 21:04 Steven Rostedt
  2022-10-21 19:43 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2022-10-20 21:04 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, Masami Hiramatsu, Daniel Bristot de Oliveira


Linus,

This fix fell through the cracks.

Note, we are working on making "topic" branches for tracing. So we
will be having different pull requests for each topic.

Tracing/tools updates for 6.1-rc1:

- Make dot2c generate monitor's automata definition static


Please pull the latest trace-tools-6.1-rc1 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace-tools-6.1-rc1

Tag SHA1: 1ee5bf9e2eff62eb25ac0e904c1a48f7c55d26ff
Head SHA1: 21a1994b6492b12e55dbf39d15271430ef6839f0


Daniel Bristot de Oliveira (1):
      rv/dot2c: Make automaton definition static

----
 tools/verification/dot2/dot2c.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---------------------------
commit 21a1994b6492b12e55dbf39d15271430ef6839f0
Author: Daniel Bristot de Oliveira <bristot@kernel.org>
Date:   Tue Aug 23 17:20:28 2022 +0200

    rv/dot2c: Make automaton definition static
    
    Monitor's automata definition is only used locally, so make dot2c generate
    a static definition.
    
    Link: https://lore.kernel.org/all/202208210332.gtHXje45-lkp@intel.com
    Link: https://lore.kernel.org/all/202208210358.6HH3OrVs-lkp@intel.com
    Link: https://lkml.kernel.org/r/ffbb92010f643307766c9307fd42f416e5b85fa0.1661266564.git.bristot@kernel.org
    
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Fixes: e3c9fc78f096 ("tools/rv: Add dot2c")
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
    Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] rv/dot2c: Make automaton definition static
  2022-10-20 21:04 [GIT PULL] rv/dot2c: Make automaton definition static Steven Rostedt
@ 2022-10-21 19:43 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2022-10-21 19:43 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Linus Torvalds, LKML, Masami Hiramatsu, Daniel Bristot de Oliveira

The pull request you sent on Thu, 20 Oct 2022 17:04:44 -0400:

> git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-tools-6.1-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ce3d90a87776053ec367c0eb083d389e9979c7e9

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-21 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20 21:04 [GIT PULL] rv/dot2c: Make automaton definition static Steven Rostedt
2022-10-21 19:43 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).