linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/12] trace-cmd: Add trace-cmd analyze command
@ 2022-03-24  2:57 Steven Rostedt
  2022-03-24  2:57 ` [PATCH 01/12] trace-cmd: Add trace-cmd analyze Steven Rostedt
                   ` (11 more replies)
  0 siblings, 12 replies; 27+ messages in thread
From: Steven Rostedt @ 2022-03-24  2:57 UTC (permalink / raw)
  To: linux-trace-devel
  Cc: williskung, kaleshsingh, linux-rt-users, Steven Rostedt (Google)

From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

Add a new command called "analyze" that reads a trace.dat file and will
report useful information from it. Such as:

Time the CPUs were idle.

What tasks ran the most on a CPU.

For each task, how long were the wake ups, how long was it blocked,
preempted, or just sleeping.

And many more to come.

See the man page at the last patch for more details.

Steven Rostedt (Google) (12):
  trace-cmd: Add trace-cmd analyze
  trace-cmd analyze: Show what tasks are running the most
  trace-cmd analyze: Show how much tasks run on each CPU
  trace-cmd analyze: Use sched_switch to find comm mappings
  trace-cmd analyze: Use sched_switch event to update times
  trace-cmd analyze: Add tracing of tasks and their states
  trace-cmd analyze: Add "idleness"
  trace-cmd analyze: Track migration
  trace-cmd analyze: Add wake up latency timings
  trace-cmd analyze: Add counting of page faults
  trace-cmd analyze: Account for dropped events
  trace-cmd analyze: Add documentation

 .../trace-cmd/trace-cmd-analyze.1.txt         |  290 +++++
 tracecmd/Makefile                             |    1 +
 tracecmd/include/trace-local.h                |    2 +
 tracecmd/trace-analyze.c                      | 1046 +++++++++++++++++
 tracecmd/trace-cmd.c                          |    1 +
 tracecmd/trace-usage.c                        |    7 +
 6 files changed, 1347 insertions(+)
 create mode 100644 Documentation/trace-cmd/trace-cmd-analyze.1.txt
 create mode 100644 tracecmd/trace-analyze.c

-- 
2.35.1


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

end of thread, other threads:[~2022-03-28 16:34 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-24  2:57 [PATCH 00/12] trace-cmd: Add trace-cmd analyze command Steven Rostedt
2022-03-24  2:57 ` [PATCH 01/12] trace-cmd: Add trace-cmd analyze Steven Rostedt
2022-03-28 16:08   ` Kalesh Singh
2022-03-28 16:34     ` Steven Rostedt
2022-03-24  2:57 ` [PATCH 02/12] trace-cmd analyze: Show what tasks are running the most Steven Rostedt
2022-03-24  2:57 ` [PATCH 03/12] trace-cmd analyze: Show how much tasks run on each CPU Steven Rostedt
2022-03-25 19:36   ` John Keeping
2022-03-25 20:18     ` Steven Rostedt
2022-03-26 11:07       ` John Keeping
2022-03-26 15:16         ` Steven Rostedt
2022-03-28 16:23           ` Kalesh Singh
2022-03-24  2:57 ` [PATCH 04/12] trace-cmd analyze: Use sched_switch to find comm mappings Steven Rostedt
2022-03-24  2:57 ` [PATCH 05/12] trace-cmd analyze: Use sched_switch event to update times Steven Rostedt
2022-03-24  2:57 ` [PATCH 06/12] trace-cmd analyze: Add tracing of tasks and their states Steven Rostedt
2022-03-25 19:37   ` John Keeping
2022-03-25 20:19     ` Steven Rostedt
2022-03-24  2:57 ` [PATCH 07/12] trace-cmd analyze: Add "idleness" Steven Rostedt
2022-03-24  2:57 ` [PATCH 08/12] trace-cmd analyze: Track migration Steven Rostedt
2022-03-24  2:57 ` [PATCH 09/12] trace-cmd analyze: Add wake up latency timings Steven Rostedt
2022-03-25 19:34   ` John Keeping
2022-03-25 20:13     ` Steven Rostedt
2022-03-25 20:31       ` Steven Rostedt
2022-03-26 11:14         ` John Keeping
2022-03-26 15:32           ` Steven Rostedt
2022-03-24  2:57 ` [PATCH 10/12] trace-cmd analyze: Add counting of page faults Steven Rostedt
2022-03-24  2:57 ` [PATCH 11/12] trace-cmd analyze: Account for dropped events Steven Rostedt
2022-03-24  2:57 ` [PATCH 12/12] trace-cmd analyze: Add documentation Steven Rostedt

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