From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751699AbeAZAqL (ORCPT ); Thu, 25 Jan 2018 19:46:11 -0500 Received: from mail-pg0-f43.google.com ([74.125.83.43]:37205 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412AbeAZAqJ (ORCPT ); Thu, 25 Jan 2018 19:46:09 -0500 X-Google-Smtp-Source: AH8x227K59YWn14UjAQtTUkSdvAcGSseoLRQ2a8tCo2xZPkPcoVr96ciBeYkxejfpOtxu14E/qHGTQ== Subject: Re: [RFC PATCH v2 0/1] of: easier debugging for node life cycle issues To: Wolfram Sang Cc: Wolfram Sang , Steven Rostedt , devicetree@vger.kernel.org, Tyrel Datwyler , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Rob Herring , linux-kernel@vger.kernel.org References: <20180121143117.19805-1-wsa+renesas@sang-engineering.com> <00fc90ee-de26-f819-9c81-27d06918564d@gmail.com> <20180125060330.781667e9@vmware.local.home> <20180125231443.44yy65ztr6exaam7@ninjato> From: Frank Rowand Message-ID: <4b373579-7a86-6883-2624-12a5408bb49b@gmail.com> Date: Thu, 25 Jan 2018 16:46:06 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180125231443.44yy65ztr6exaam7@ninjato> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/25/18 15:14, Wolfram Sang wrote: > >> This means that ftrace can not be used for the of_node_get(), >> of_node_put(), and of_node_release() debug info, because >> these functions are called before early_initcall(). > > For the record: You can still unbind/bind devices. This is how I > debugged an issue. I wasn't implying that the data wasn't usable for any use case. The point is that using ftrace means there are use cases for the debug information where the information will not be available.