Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2358573ybd; Thu, 27 Jun 2019 11:04:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/DqD+B0dLV+qi+la6tfg6OivaVhOfLLRVV8X58ijlvFEsqDAXg0HxMDRbuNSRY/wbNhcs X-Received: by 2002:a63:5d45:: with SMTP id o5mr5066570pgm.40.1561658646602; Thu, 27 Jun 2019 11:04:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561658646; cv=none; d=google.com; s=arc-20160816; b=x9TdxijiZcdcV3Z3FiENGf++/OepXCkDNk1An5ZqKPFdfqXURblbKKnsLv8xXb6HlA sv8SKRX94C9jrqOHhMy6Ur3MUrgD31vhZtA3ng9Tc4XaPHCcAkSD372yn26fMJ5PV1kc eDoH9DwQ5wxkOSrBERh4hCzzb0NjwPqT/GQudjxn0okYXzXxNEs3K8HsQTFpAvQT+PNC +MhDpB7aendbHlHyoiNGqSjSRFL1QfJhuLhURVTiJlEk88s3lRR6g9mbZTIOyxjU9z5v qm0VSWAz6GfuOsLatL0Smblv93rIUw8JAA17oHO47XPfKAPbdThyAcHP3Nkh96H48zWD cpkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dSVmBke0G+Dn1r5o72Lsio2Nc6Y+VGkRek2GyEWlv1Y=; b=ylCDtq3AGVoixY9MA+t+a33YrDnjhzKn8Eajz/EZnF7bQKBc3zAQ3GgWSh/4TvDuQM ra77NZW/VkCKKSsPygmc/RvxBcwQWsYB7gwa2rIu7E2DWUq36hBb9r+Mf2GRh5918AjO Zk/y5DOyy1pD1bvWC4tFm1hzcUFWr+D5xM5fRIQx1zNF6Kg0om8y0tR4yrNBUaKlp6oo UkiCdEGQaukYKx+H9pDnxkZq+y1+/wDTD6wJOv7JzWNKvTHGvdkvm7ctXS27epIRVMc/ My7lNaMMmFosCFz1GJPYgoIfFMCO+XN8xtgU6FbnzpsaN5W4mgV775JGBE70yaFhWj0m IDzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Twrm3tZC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h4si115035pje.41.2019.06.27.11.03.50; Thu, 27 Jun 2019 11:04:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Twrm3tZC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbfF0SDg (ORCPT + 99 others); Thu, 27 Jun 2019 14:03:36 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:35805 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726502AbfF0SDg (ORCPT ); Thu, 27 Jun 2019 14:03:36 -0400 Received: by mail-pg1-f193.google.com with SMTP id s27so1372930pgl.2 for ; Thu, 27 Jun 2019 11:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dSVmBke0G+Dn1r5o72Lsio2Nc6Y+VGkRek2GyEWlv1Y=; b=Twrm3tZCR5bcxA3sKzMt9LXwhFdDc9+denzp9LYr1wcJq7smxQRGHp2brrBoQkfirk Y7wCFbbB/owyKP4zfUGmnV7t0Ie6jYAUccbNF8Z/TunU7spLNyYQei1PH79kXELRYUpo hGt0DwSzcR0iGLxRVpSep6DXW0p3C8RNQA/RuDVb/UfLttWuR7RvyvxTnEEw0icSmNNT 1qMjFF5o+e1T5QeEz3zFJFEPDkOSn6r0uSDTeBbacWq3enMF73azRz6Elr3eITFpPDgG O7mzCB3x8XcyvXaON0IIOKgOCdSsyMaKrMucaTSiK8uDPIPq6tZcnD5onjFEKwPlLMpN vGuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dSVmBke0G+Dn1r5o72Lsio2Nc6Y+VGkRek2GyEWlv1Y=; b=SRlf2PKeHP5HrkU4SR51+VAOFkGxGXqhtOBUQSyQ1tzf9mDfgLcxOFBxww5Z8qYYmM i0uqcWXyZ1AngsG4ofibnC7LRhK0rIPd4aZauDEL4pUJsS8RHG8tqC2BoGE89YxUps3x BwXAiq+2M1eDlsxpxc4BulsMMizHVN+gq1wWK/uecpxY4wkVfkgElnhYXnJMaA2VbRJM i6Gcd8u5YkUVj+H9KEwuoAdE0enwkdKjMneWtTSA79XRwm7acX/LSC+puNCKo5CZaui7 s9pqtSAVv+on/RPMycZPpXpbq2fVmNfcCXbe12AH7ZUVb6he+n+lXBs5YEuHt6HkulIM LOQQ== X-Gm-Message-State: APjAAAVOxpI1UJruM9VRwa3WO1j+08e4Bbm8oIn5Uxl1OguNiwB/5mlz o1ZEg0Z/DmXme8mRe64qth3uH3FVyIZE8r78BuXF3Q== X-Received: by 2002:a63:78ca:: with SMTP id t193mr4921106pgc.10.1561658615016; Thu, 27 Jun 2019 11:03:35 -0700 (PDT) MIME-Version: 1.0 References: <20190617222034.10799-1-linux@rasmusvillemoes.dk> <20190617222034.10799-8-linux@rasmusvillemoes.dk> <12bd1adc-2258-ad5d-f6c9-079fdf0821b8@rasmusvillemoes.dk> <70aa7b96-e19d-5f8b-1ff6-af15715623e5@rasmusvillemoes.dk> <4e9d2103-2186-308b-c560-830c57ee3a6d@rasmusvillemoes.dk> In-Reply-To: <4e9d2103-2186-308b-c560-830c57ee3a6d@rasmusvillemoes.dk> From: Nick Desaulniers Date: Thu, 27 Jun 2019 11:03:23 -0700 Message-ID: Subject: Re: [PATCH v6 7/8] dynamic_debug: add asm-generic implementation for DYNAMIC_DEBUG_RELATIVE_POINTERS To: Rasmus Villemoes Cc: Ingo Molnar , Andrew Morton , Jason Baron , Nathan Chancellor , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 26, 2019 at 4:52 PM Rasmus Villemoes wrote: > > On 27/06/2019 01.16, Nick Desaulniers wrote: > > On Tue, Jun 25, 2019 at 3:18 PM Nick Desaulniers > > wrote: > > > > The prints should show up in dmesg right, assuming you do something to > > trigger them? Can you provide more details for a test case that's > > easy to trip? What's an easy case to reproduce from a limited > > buildroot env (basic shell/toybox)? > > > > Hm, I seemed to remember that those kobject events triggered all the > time. Oh well, try this one: > > echo 'file ping.c +p' > control > ping localhost > dmesg | grep ping I don't have guest networking setup from QEMU to host, so there's no network available to ping. :( but: (initramfs) echo 'file drivers/tty/*.c +p' > /dfs/dynamic_debug/control (initramfs) grep tty /dfs/dynamic_debug/control ... drivers/tty/serial/8250/8250_core.c:113 [8250]serial8250_interrupt =p "%s(%d): start\012" drivers/tty/serial/8250/8250_core.c:139 [8250]serial8250_interrupt =p "%s(%d): end\012" ... (initramfs) dmesg ... [ 134.895846] serial8250_interrupt(4): start [ 134.895967] serial8250_interrupt(4): end [ 134.895970] serial8250_interrupt(4): start [ 134.895981] serial8250_interrupt(4): end [ 134.895998] serial8250_interrupt(4): start [ 134.896053] serial8250_interrupt(4): end I then verified that nothing new appears in dmesg related to these traces after running: (initramfs) echo 'file drivers/tty/*.c -p' > /dfs/dynamic_debug/control so if that's good enough, then for the series: Tested-by: Nick Desaulniers Thanks, ~Nick Desaulniers