git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[StGit PATCH 3/5] Show full command in subprocess profiling

From
Karl Hasselström <kha@treskal.com>
Date
Jul 17, 2008, 20:42 UTC
Message-ID
<20080717204238.23407.47439.stgit@yoghurt>
In-Reply-To
<20080717204133.23407.34264.stgit@yoghurt>

Showing just the executable name isn't so useful now that it's always "git".

Signed-off-by: Karl Hasselström <kha@treskal.com>
---
 stgit/run.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/stgit/run.py b/stgit/run.py
index 9d50e43..befd3c1 100644
--- a/stgit/run.py
+++ b/stgit/run.py
@@ -65,7 +65,7 @@ class Run:
                     if k not in os.environ or os.environ[k] != self.__env[k]:
                         _logfile.info('%s: %s' % (k, self.__env[k]))
         elif _log_mode == 'profile':
-            _logfile.start('Running subprocess %s' % self.__cmd[0])
+            _logfile.start('Running subprocess %s' % self.__cmd)
             self.__starttime = datetime.datetime.now()
     def __log_end(self, retcode):
         if _log_mode == 'debug':
Previous: Catalin MarinasNext: Catalin Marinas
Message 5 of 8 in “Performance testing tools”
  1. 0/5 Performance testing toolsKarl Hasselström, Jul 17, 2008
  2. 1/5 Add some performance testing scriptsKarl Hasselström, Jul 17, 2008
  3. 2/5 Log subproces activity to a fileKarl Hasselström, Jul 17, 2008
  4. Catalin MarinasJul 18, 2008
  5. 3/5 Show full command in subprocess profilingKarl Hasselström, Jul 17, 2008
  6. Catalin MarinasJul 18, 2008
  7. 4/5 Log subprocess calls during performance testingKarl Hasselström, Jul 17, 2008
  8. 5/5 Global performance loggingKarl Hasselström, Jul 17, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.