From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753244AbcIBMh4 (ORCPT ); Fri, 2 Sep 2016 08:37:56 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:36688 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751711AbcIBMhz (ORCPT ); Fri, 2 Sep 2016 08:37:55 -0400 From: Binoy Jayan To: "Steven Rostedt (Red Hat)" Cc: Ingo Molnar , Daniel Wagner , Arnd Bergmann , linux-kernel@vger.kernel.org, Masami , Binoy Jayan Subject: [PATCH v5 0/4] *** Latency histograms - IRQSOFF,PREEMPTOFF *** Date: Fri, 2 Sep 2016 18:07:27 +0530 Message-Id: <1472819851-12857-1-git-send-email-binoy.jayan@linaro.org> X-Mailer: git-send-email 1.8.2.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thank you Daniel, Steven for reviewing the code and for the comments. I have made the changes mentioned below and have added the hack to mark the field cpu as a key. These set of patches [v5] capture latency events caused by interrupts and premption disabled in kernel. The patches are based on the hist trigger feature developed by Tom Zanussi. v4: https://lkml.org/lkml/2016/8/30/188 v3: https://lkml.org/lkml/2016/8/29/50 v2: https://lkml.org/lkml/2016/8/24/296 Changes from v4 - Added unlikely() for less probable paths - Dropped field 'ccomm' for hrtimer latency - Patch to mark the generic field cpu as a key field and make it part of histogram output - Changed ambiguous function names TODO: 1. kselftest test scripts 2. delayed hrtimer offset test scenario Thanks, Binoy Binoy Jayan (3): tracing: Add cpu as a key field in histogram tracing: Add trace_irqsoff tracepoints tracing: Histogram for delayed hrtimer offsets Daniel Wagner (1): tracing: Deference pointers without RCU checks include/linux/hrtimer.h | 3 ++ include/linux/rculist.h | 36 ++++++++++++++++++ include/linux/tracepoint.h | 4 +- include/trace/events/latency.h | 73 +++++++++++++++++++++++++++++++++++++ kernel/time/hrtimer.c | 46 +++++++++++++++++++++++ kernel/trace/trace_events.c | 3 +- kernel/trace/trace_events_filter.c | 4 +- kernel/trace/trace_events_hist.c | 15 ++++++++ kernel/trace/trace_events_trigger.c | 6 +-- kernel/trace/trace_irqsoff.c | 35 ++++++++++++++++++ 10 files changed, 217 insertions(+), 8 deletions(-) create mode 100644 include/trace/events/latency.h -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project