Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753058AbcCYOI3 (ORCPT ); Fri, 25 Mar 2016 10:08:29 -0400 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:30127 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752970AbcCYOI1 (ORCPT ); Fri, 25 Mar 2016 10:08:27 -0400 Subject: Re: [PATCH] mmc: Provide tracepoints for request processing To: Baolin Wang References: <05d6338bddae751c1755e7825d4179658e78cc71.1458819912.git.baolin.wang@linaro.org> <56F3F4F5.8050200@fb.com> CC: Ulf Hansson , , , , , , , , , , , , , , , , , , , Mark Brown , Linus Walleij , Takahiro Akashi , LKML , From: Jens Axboe Message-ID: <56F54628.4000404@fb.com> Date: Fri, 25 Mar 2016 08:07:36 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.54.13] X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-03-25_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1134 Lines: 25 On 03/25/2016 01:32 AM, Baolin Wang wrote: > On 24 March 2016 at 22:08, Jens Axboe wrote: >> On 03/24/2016 05:54 AM, Baolin Wang wrote: >>> >>> This patch provides some tracepoints for the lifecycle of a request from >>> fetching to completion to help with performance analysis of MMC subsystem. >> >> >> Most of these already exist as block layer trace points, why do we need mmc >> specific ones? > > Currently the MMC core does not have any tracepoints for use with > ftrace. These are very useful as they provide a very low overhead > runtime controllable way of getting diagnostics from the system which > is capable of recording a great deal of information without impacting > system performance. We have tracepoints in the block layer so we can > do some trace of MMC but none in MMC itself so adding some where > appropriate would help people follow the activity of subsystem. But more than half of the trace points you added, those are DIRECTLY related to the block event. So what you are saying makes little sense. I see you resend it with the same trace points, I'll comment on that mail. -- Jens Axboe