Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932135Ab3IBQJp (ORCPT ); Mon, 2 Sep 2013 12:09:45 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:56970 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758315Ab3IBQJm (ORCPT ); Mon, 2 Sep 2013 12:09:42 -0400 Message-ID: <5224B83F.7040503@gmail.com> Date: Mon, 02 Sep 2013 10:09:35 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: sedat.dilek@gmail.com CC: Linus Torvalds , Waiman Long , Ingo Molnar , Benjamin Herrenschmidt , Alexander Viro , Jeff Layton , Miklos Szeredi , Ingo Molnar , Thomas Gleixner , linux-fsdevel , Linux Kernel Mailing List , Peter Zijlstra , Steven Rostedt , Andi Kleen , "Chandramouleeswaran, Aswin" , "Norton, Scott J" Subject: Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount References: <1375758759-29629-1-git-send-email-Waiman.Long@hp.com> <52200DAE.2020303@hp.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1147 Lines: 27 On 9/2/13 4:30 AM, Sedat Dilek wrote: > On Sun, Sep 1, 2013 at 5:55 PM, Linus Torvalds > wrote: >> On Sun, Sep 1, 2013 at 8:45 AM, Sedat Dilek wrote: >>> >>> Samples: 160K of event 'cycles:pp', Event count (approx.): 77003901089 >>> + 12,46% t_lockref_from- [kernel.kallsyms] [k] irq_return >>> + 4,86% t_lockref_from- [kernel.kallsyms] [k] lockref_get_or_lock >>> + 4,42% t_lockref_from- [kernel.kallsyms] [k] __ticket_spin_lock >>> + 4,28% t_lockref_from- [kernel.kallsyms] [k] __acct_update_integrals >> >> You need to go into __ticket_spin_lock to see who the callers are. >> >> Just go down to it and press enter to expand it (and then you need to >> go and expand that entry too to get the callers) >> > > I am new to perf usage. One option for you is 'perf report --stdio ..'. That bypasses the tui. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/