From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751992Ab3LJWRd (ORCPT ); Tue, 10 Dec 2013 17:17:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:62347 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751779Ab3LJWRa (ORCPT ); Tue, 10 Dec 2013 17:17:30 -0500 Date: Tue, 10 Dec 2013 17:16:21 -0500 From: Dave Jones To: Steven Rostedt Cc: Oleg Nesterov , Linus Torvalds , Thomas Gleixner , Darren Hart , Andrea Arcangeli , Linux Kernel Mailing List , Peter Zijlstra , Mel Gorman Subject: Re: process 'stuck' at exit. Message-ID: <20131210221621.GD5050@redhat.com> Mail-Followup-To: Dave Jones , Steven Rostedt , Oleg Nesterov , Linus Torvalds , Thomas Gleixner , Darren Hart , Andrea Arcangeli , Linux Kernel Mailing List , Peter Zijlstra , Mel Gorman References: <20131210154724.GA30020@redhat.com> <20131210203559.GA1209@redhat.com> <20131210204925.GB27373@redhat.com> <20131210213431.GA6342@redhat.com> <20131210214143.GG27373@redhat.com> <20131210220946.GA6962@home.goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131210220946.GA6962@home.goodmis.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 10, 2013 at 05:09:46PM -0500, Steven Rostedt wrote: > So you can do either: > > trace-cmd record -p function -l get_user_pages_fast --func-stack sleep 5 > > Which will trace the get_user_pages_fast and spit out a full call trace. This gives me a 100M trace.dat, but trace show shows.. # tracer: nop # # entries-in-buffer/entries-written: 0/0 #P:4 # # _-----=> irqs-off # / _----=> need-resched # | / _---=> hardirq/softirq # || / _--=> preempt-depth # ||| / delay # TASK-PID CPU# |||| TIMESTAMP FUNCTION # | | | |||| | | and that's it. > Or if you don't want to use trace-cmd, you can do it by hand. Given the state the system is in, I don't want to perturb it too much. Dave