Skip to contentSkip to conversation

trace-cmd: Add description of "-G" option

PATCH New Tzvetomir Stoyanov (VMware) 1 participant 1 message Jun 2, 2020 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace-cmd: Add description of "-G" option

Documented "trace-cmd record -G" option in man page and in the usage output.

---
 Documentation/trace-cmd-record.1.txt | 4 ++++
 tracecmd/trace-usage.c               | 1 +
 2 files changed, 5 insertions(+)
Documentation/trace-cmd-record.1.txt +4 -0
index f5ecad5c..99d1a156 100644
@@ -312,6 +312,10 @@ OPTIONS
 
     See trace-cmd-profile(1) for more details and examples.
 
+*-G*::
+    Set interrupt (soft and hard) events as global (associated to CPU
+    instead of tasks). Only works for --profile.
+
 *-H* 'event-hooks'::
     Add custom event matching to connect any two events together. When not
     used with *--profile*, it will save the parameter and this will be
tracecmd/trace-usage.c +1 -0
index 0c0e12f4..63d6eb41 100644
@@ -53,6 +53,7 @@ static struct usage_help usage_help[] = {
 		"          --module filter module name\n"
 		"          --by-comm used with --profile, merge events for related comms\n"
 		"          --profile enable tracing options needed for report --profile\n"
+		"          -G when profiling, set soft and hard irqs as global\n"
 		"          --func-stack perform a stack trace for function tracer\n"
 		"             (use with caution)\n"
 		"          --max-graph-depth limit function_graph depth\n"
Signature · 1 line
2.26.2