From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751197AbcFCBLZ (ORCPT ); Thu, 2 Jun 2016 21:11:25 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:35162 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbcFCBLY (ORCPT ); Thu, 2 Jun 2016 21:11:24 -0400 From: Omar Sandoval X-Google-Original-From: Omar Sandoval To: Steven Rostedt , Ingo Molnar , Masami Hiramatsu , Namhyung Kim Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, Omar Sandoval Subject: [PATCH v2 0/3] tracing: expose current->comm to [ku]probe events Date: Thu, 2 Jun 2016 18:11:00 -0700 Message-Id: X-Mailer: git-send-email 2.8.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Omar Sandoval Hi, Respinning with a few changes: - Added patches 1 and 3 (document "string_size" type and make "string" default for $comm) - Also support uprobe events - Only allow "string" and "string_size" types Patch 2, which actually introduces $comm, is pretty simple. Patch 3 is more intrusive, but without it, the default type for $comm is invalid, which is stupid. This series applies to v4.7-rc1. Thanks! Omar Sandoval (3): tracing: document "string_size" [ku]probe type tracing: expose current->comm to [ku]probe events tracing: make "string" the default type for [ku]probe event $comm Documentation/trace/kprobetrace.txt | 15 +++-- Documentation/trace/uprobetracer.txt | 13 ++-- kernel/trace/trace_kprobe.c | 1 + kernel/trace/trace_probe.c | 123 ++++++++++++++++++++++++++--------- kernel/trace/trace_probe.h | 10 +++ 5 files changed, 123 insertions(+), 39 deletions(-) -- 2.8.3