Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1357221ybd; Wed, 26 Jun 2019 16:16:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9nEFZjpTc2201DAVRQsHf7wO1LPoiKZGIDKUKLiQQxzKrCJi1EQrFPPUs60ATpDKYLwYn X-Received: by 2002:a17:902:70cc:: with SMTP id l12mr714708plt.87.1561591002601; Wed, 26 Jun 2019 16:16:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561591002; cv=none; d=google.com; s=arc-20160816; b=wTsihUhJX70YQWZScuERRBCuTcZg1fVN7Rw7CJo3eN1KrrITTl1+jnayzqhTGBIPKy Qw7WuOvkcBKkG8ajtOE10AaRpg0C6YjAFz+foR/jGNAsnHe64ZFeBO4QdncQ8okMsUgp IzR5iC5sNU8jFe+PmF9LPZ/owB3jhpSZuBoi59TKF9uTBKulQw2T5+RU2LdIl5qNSTEA mmEd91VnZnW+C15JXLWA4GIHAJqq0U9oGK9hG8H0IVw+qmOZfAuEAjZKBeA1JyLcOxCX RctKD5F643Wxqff9xyrerXZww6Ns4G4Mszvq1hthl6RTddl2CXReuzHqD1NU+5G2L9x+ GP9Q== 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=rIf45gOhciYi+BEA1QhcjyjxejhgA9SV6NIAGt0tSas=; b=UR/2MfLXs5lneqb/n472RoTod6bB0BFpjkJsnq28/dR6bYUQCaZdeQa+g1gug3eq+D qpfn8tqfexzAPDRx2NhPO6xfK7u5oQN8xJE3Vdp8JGfYKsJpajuPh+C5no1Ms56UVM2f ZcvrsKSK4BRRklasV5PEjFZpV0vgGYW54gBurf0IwbKgoi0ATpzBWyUFGMxJcHlw414r daGkSzlYcreKCOd1o7zOzNcwRPUBwotl+7ojod8/Z7eSKKmjNpr1xU5IwgpAClR9xUai 9dSCTTYojft8RYEyNN51H8tM4SuwTqfpbDPlHnXzaO40TuEpWGf2Aux64NOrVQCKntvS mpkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=FS7iy+g9; 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 67si508539plf.400.2019.06.26.16.16.25; Wed, 26 Jun 2019 16:16:42 -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=FS7iy+g9; 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 S1726583AbfFZXQN (ORCPT + 99 others); Wed, 26 Jun 2019 19:16:13 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:43079 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726385AbfFZXQM (ORCPT ); Wed, 26 Jun 2019 19:16:12 -0400 Received: by mail-pg1-f194.google.com with SMTP id f25so74136pgv.10 for ; Wed, 26 Jun 2019 16:16:12 -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=rIf45gOhciYi+BEA1QhcjyjxejhgA9SV6NIAGt0tSas=; b=FS7iy+g9zx3oAMlGG3D0W0JPwy/tDVHMgqzpmeT3Jjn6nxVRhEdg5/NYFSTnvkmFQ2 PgRZcXG3jBuuwnI/8XWYb2iNxhsmALBgVW1c+OkAbD4ooDo4VMNk0SbnbK4TQmaTMWM3 C1Y+vTBcFOAcuS0BxH7wa9KaorGywvPrTRh5boVWorsYt9KP2pP0AkauYNjtxUyeIzRw xZ78zCa6IxdboMARhhpRN0KyB2+jWNV/gaWAy0FPdMUwYRb01kQ6+TburGkruRGhusW2 iZAw1ncDgj+WIQh8eG4JQl0hVsvxKNHEHwtaTtLP7v4fChdp7sWSJpcL0svKF/MOd89q z4aw== 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=rIf45gOhciYi+BEA1QhcjyjxejhgA9SV6NIAGt0tSas=; b=M+DUuMnTaFC8lT5H1v2ZhH5KsP40sV0daz7CFoF8iKT0kQsDK6gWcZAnQ8WFU0L9wO KnmAp6S0mCnISCYKQRQiGRIiqRMWl6eFMf67Qc64FOI6VYBzO3o86OVnWdf561ZONKqV d6Yc2o3LeEv/iUBuYKLncST4oOnbH+7phYlxYMTD0Vu1gYDECElzYdpF1mxooISjC/tH BEFd5jA6RmY59Ot7xVRhGuaQcs3e8c43F7zmiEerhFJArBhlEdhlQxXyZygfgIlQxTgt BAMemsTTdObu2t/qtfB9lD7F8UAg7MDjF5DTJ+CMTHDnewBJu0oIWL2aVtRyd8jELAC7 XVuQ== X-Gm-Message-State: APjAAAWCEDMEDwku3ZvLGzVuByFPIcwQiKcZSIBxs9KgUHxLQpIiSwF0 zuVmPgsDkl92WQ3Lfwxq70OBGAvYWF+z8b23bcI3yg== X-Received: by 2002:a63:52:: with SMTP id 79mr442512pga.381.1561590971627; Wed, 26 Jun 2019 16:16:11 -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> In-Reply-To: From: Nick Desaulniers Date: Wed, 26 Jun 2019 16:16:00 -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 Tue, Jun 25, 2019 at 3:18 PM Nick Desaulniers wrote: > 2. pci_pm_suspend_noirq seems to exist twice(?) before your patches, once after > 3. xhci_urb_enqueue seems to exist three times before your patches, twice after PEBKAC, I advanced my master branch without rebasing my local branch with these changes. With the local branch rebased onto master, there are no differences. 2888 in both cases, line numbers do not differ. I wasn't able to trip any logs in kobject: (initramfs) echo "file kobject.c +p" > /dfs/dynamic_debug/control (initramfs) cat /dfs/dynamic_debug/control | grep kobject lib/kobject.c:161 [kobject]fill_kobj_path =p "kobject: '%s' (%p): %s: path = '%s'\012" lib/kobject.c:668 [kobject]kobject_cleanup =p "kobject: '%s' (%p): %s, parent %p\012" lib/kobject.c:672 [kobject]kobject_cleanup =p "kobject: '%s' (%p): does not have a release() func" lib/kobject.c:677 [kobject]kobject_cleanup =p "kobject: '%s' (%p): auto cleanup 'remove' event\01" lib/kobject.c:684 [kobject]kobject_cleanup =p "kobject: '%s' (%p): auto cleanup kobject_del\012" lib/kobject.c:690 [kobject]kobject_cleanup =p "kobject: '%s' (%p): calling ktype release\012" lib/kobject.c:696 [kobject]kobject_cleanup =p "kobject: '%s': free name\012" lib/kobject.c:744 [kobject]dynamic_kobj_release =p "kobject: (%p): %s\012" lib/kobject.c:253 [kobject]kobject_add_internal =p "kobject: '%s' (%p): %s: parent: '%s', set: '%" lib/kobject.c:915 [kobject]kset_release =p "kobject: '%s' (%p): %s\012" 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)? -- Thanks, ~Nick Desaulniers