linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joel Fernandes <joelaf@google.com>
To: linux-kernel@vger.kernel.org
Cc: mikesart@gmail.com, Joel Fernandes <joelaf@google.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Ingo Molnar <mingo@redhat.com>,
	kernel-team@android.com
Subject: [PATCH RFC v3 0/4]  Add support to record and display tgid of tasks
Date: Thu,  8 Jun 2017 19:53:23 -0700	[thread overview]
Message-ID: <20170609025327.9508-1-joelaf@google.com> (raw)

Hi Steven, Ingo,

Here is a new patch series [1] with more improvements and fixes.

Android systrace viewer heavily depends on the tgid to group tasks. tgid is
also useful for analyzing traces and generating analysis results for groups of
tasks. Also Michael Sartain said he also has a need for it and helped test the
series (I have added him to CC).

Following are the improvements in this series:
* Preserve existing API for existing callers
* Memory leak fix
* Improved trace output code

Looking forward to your thoughts about comments, thanks.

Joel Fernandes (4):
  tracing: Remove unused declaration of trace_stop_cmdline_recording
  tracing: Add support for recording tgid of tasks
  tracing: Add support for display of tgid in trace output
  tracing/ftrace: Add support to record and display tgid

 include/linux/trace_events.h      |  12 +++-
 kernel/trace/trace.c              | 140 +++++++++++++++++++++++++++++++-------
 kernel/trace/trace.h              |   8 +++
 kernel/trace/trace_events.c       |  42 +++++++++++-
 kernel/trace/trace_functions.c    |  26 +++++++
 kernel/trace/trace_output.c       |   9 +++
 kernel/trace/trace_sched_switch.c |  79 +++++++++++++++++----
 7 files changed, 274 insertions(+), 42 deletions(-)

[1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1412260.html

Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: kernel-team@android.com
Cc: Michael Sartain <mikesart@gmail.com>
-- 
2.13.0.506.g27d5fe0cd-goog

             reply	other threads:[~2017-06-09  2:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-09  2:53 Joel Fernandes [this message]
2017-06-09  2:53 ` [PATCH RFC v3 1/4] tracing: Remove unused declaration of trace_stop_cmdline_recording Joel Fernandes
2017-06-13 18:19   ` Steven Rostedt
2017-06-09  2:53 ` [PATCH RFC v3 2/4] tracing: Add support for recording tgid of tasks Joel Fernandes
2017-06-13 18:52   ` Steven Rostedt
2017-06-13 23:47     ` Joel Fernandes
2017-06-09  2:53 ` [PATCH RFC v3 3/4] tracing: Add support for display of tgid in trace output Joel Fernandes
2017-06-09  2:53 ` [PATCH RFC v3 4/4] tracing/ftrace: Add support to record and display tgid Joel Fernandes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170609025327.9508-1-joelaf@google.com \
    --to=joelaf@google.com \
    --cc=kernel-team@android.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikesart@gmail.com \
    --cc=mingo@redhat.com \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).