From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3w7mbC4bCqzDqFR for ; Thu, 20 Apr 2017 14:48:23 +1000 (AEST) Received: by mail-io0-x232.google.com with SMTP id k87so53702737ioi.0 for ; Wed, 19 Apr 2017 21:48:23 -0700 (PDT) Subject: Re: [PATCH] of: introduce event tracepoints for dynamic device_node lifecyle To: Steven Rostedt , Tyrel Datwyler References: <1492475525-10827-1-git-send-email-tyreld@linux.vnet.ibm.com> <58F6AA35.2040902@gmail.com> <87efwp6v4e.fsf@concordia.ellerman.id.au> <1d51a229-612b-bf09-93d5-6e43b476e2cf@gmail.com> <20170419223342.0bbe2593@grimm.local.home> Cc: Michael Ellerman , Tyrel Datwyler , robh+dt@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, nfont@linux.vnet.ibm.com, mingo@redhat.com From: Frank Rowand Message-ID: <58F83D7C.10000@gmail.com> Date: Wed, 19 Apr 2017 21:47:56 -0700 MIME-Version: 1.0 In-Reply-To: <20170419223342.0bbe2593@grimm.local.home> Content-Type: text/plain; charset=windows-1252 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 04/19/17 19:33, Steven Rostedt wrote: > On Wed, 19 Apr 2017 16:27:10 -0700 > Tyrel Datwyler wrote: > >> # echo stacktrace > /sys/kernel/debug/tracing/trace_options >> # cat trace | grep -A6 "/pci@800000020000018" > > Just to let you know that there is now stacktrace event triggers, where > you don't need to stacktrace all events, you can pick and choose. And > even filter the stack trace on specific fields of the event. > > # cd /sys/kernel/debug/tracing > # echo "stacktrace if common_pid == $$ && reason == 3" \ > > events/tlb/tlb_flush/trigger > > # cat trace > bash-1103 [003] ...1 1290.100133: tlb_flush: pages:-1 reason:local mm shootdown (3) > bash-1103 [003] ...2 1290.100140: > => copy_process.part.39 > => _do_fork > => SyS_clone > => do_syscall_64 > => return_from_SYSCALL_64 > > -- Steve > . > Thanks for chiming in. The power and flexibility of the trace tools is quite amazing I need to make room in my schedule to catch up on what has been added in the last several years. -Frank