Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751647AbdFICxo (ORCPT ); Thu, 8 Jun 2017 22:53:44 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:36198 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751473AbdFICxn (ORCPT ); Thu, 8 Jun 2017 22:53:43 -0400 From: Joel Fernandes To: linux-kernel@vger.kernel.org Cc: mikesart@gmail.com, Joel Fernandes , Steven Rostedt , Ingo Molnar , 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 Message-Id: <20170609025327.9508-1-joelaf@google.com> X-Mailer: git-send-email 2.13.0.506.g27d5fe0cd-goog Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1498 Lines: 39 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 Cc: Ingo Molnar Cc: kernel-team@android.com Cc: Michael Sartain -- 2.13.0.506.g27d5fe0cd-goog