From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752127AbdESNnd (ORCPT ); Fri, 19 May 2017 09:43:33 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36538 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750783AbdESNna (ORCPT ); Fri, 19 May 2017 09:43:30 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D10D760FF1 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=gkohli@codeaurora.org To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org From: "Kohli, Gaurav" Subject: Query: Notifier support for callback profiling Message-ID: Date: Fri, 19 May 2017 19:13:26 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi , Can we profile driver specific notifier callback from Linux notifier. Sometimes we need to debug which callback is taking more time or where it is stuck. If kernel/notifier.c provide generic mechanism to profile callbacks that will save profiling individual callbacks. -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.