Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp34530191rwd; Sun, 9 Jul 2023 14:19:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlEjRUBWY7HygLfmwZAeeH2wOU5D/YjQSTsfeX4oTU97pVtS/jh5nJj9pyzHzyC8XwLkjPGS X-Received: by 2002:a05:6a00:1810:b0:682:26e4:599e with SMTP id y16-20020a056a00181000b0068226e4599emr9488150pfa.21.1688937596938; Sun, 09 Jul 2023 14:19:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688937596; cv=none; d=google.com; s=arc-20160816; b=imPmlUHGTEFTMNl5Q3sYK1AISoVmfZY73PutnYgiNUBJRskO2Z2DjhqpX/FeS00s9A nPtHZf2JWJbbazPo+d9wUG/EyR3sm+HjMxPa5R0Vtanu1SFzd89cBqkP+maJw7Vp5gnp 4rJCkF/TozDXfu3xjmQsb9CmlsQus4bd0QxbU+XDjU65I3yS7/e6tjYu3ue+7kyBg/RV oMKt/OAB8GcRGw3UW8ktRMbaQkhlu6miLxWvpDMJ+aSzyN/ZPteEo5LAgBV7H2a+g4d2 I7GVc69G9EIjR6B4xbqjHp+dl/eydtc8/9PVK+ywfgnwYWX4zPeg26SQVdLYtj5ubHI0 Eecg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=1WZMjo//sh1t1e513RlFAxKi55ET6PH0DskWb1mHZ/g=; fh=wXcZQlffSzV2rFzu9yvBJZxeeF3pBCyVS0GsP2GQFT0=; b=woH2XGriZm7hKfycRH7+LP4DOT3SK+TcPc+2hEkzgP9Q1BI8uhFwyVl84vMj+l2uZv IXGeIMNApGHXHYRIdN7jYiChAkxdEEDRCBgEg2uyyAmKEiLpU1kJBgKRyWymeMucTzEi kIynlOAluw2LEP5sYBuG0OAwjr9/M5ot3DbJya7pp0CqpsoDMPV2fJgwXBextvN2FTbO mZniNbBzjJM7QnrR4YIrUh8AWJ6rNIyccf+IVvweOo5F7HWrz3wMNXXHztGLahLlODCA U0rPJilLuRXJahgqxTWzTPqSvVt0u4WMOJp9wMpdqOvIpxQFjrAZA6gtbA5qOTTO3xDz GF7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=I8RxAsQg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n17-20020a056a000d5100b00682850547a9si7161939pfv.201.2023.07.09.14.19.45; Sun, 09 Jul 2023 14:19:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=I8RxAsQg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230075AbjGIVSK (ORCPT + 99 others); Sun, 9 Jul 2023 17:18:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjGIVSG (ORCPT ); Sun, 9 Jul 2023 17:18:06 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0CC811C; Sun, 9 Jul 2023 14:18:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1688937483; bh=J+Xea2ihWP8J7/RiQgrqlVFiwt7iwUc6uaPbB3lfgT0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=I8RxAsQg62HQ66sqqhmhr+oK3L/xaZmqwwluFr0cdP4PfwPVeX966Bqn+lB5XDLq/ B8WWhRhkkUMo+LMzWiMJpatVc6K1vPVEoSLt77EcX3VrD41JChigvM3/qGCzuQuEop U3if3wAq2698rY8f46z9E3v4NLhdZ5hh53c1+ZHk= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Sun, 09 Jul 2023 23:17:59 +0200 Subject: [PATCH v2 2/3] dyndbg: increase PREFIX_SIZE to 128 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230709-dyndbg-filename-v2-2-fd83beef0925@weissschuh.net> References: <20230709-dyndbg-filename-v2-0-fd83beef0925@weissschuh.net> In-Reply-To: <20230709-dyndbg-filename-v2-0-fd83beef0925@weissschuh.net> To: Jason Baron , Jim Cromie , Jonathan Corbet , Luis Chamberlain , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688937480; l=677; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=J+Xea2ihWP8J7/RiQgrqlVFiwt7iwUc6uaPbB3lfgT0=; b=IXJ1KgkRmSd+BA8ncaDY1B60bjM00KbTjufQhsm5yV3ZJ51bqklliktBMrjZUeewGJe9i5P8e roTWGcweoZoAMs1s0au8A+jrH8gmbjRYrZ0PT88it9P52pFdquJ3teN X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A follow-up patch will add the possibility to print the filename as part of the prefix. Increase the maximum prefix size to accommodate this. Signed-off-by: Thomas Weißschuh --- lib/dynamic_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 71b22d206a1b..166229dfe171 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -808,7 +808,7 @@ const struct kernel_param_ops param_ops_dyndbg_classes = { }; EXPORT_SYMBOL(param_ops_dyndbg_classes); -#define PREFIX_SIZE 64 +#define PREFIX_SIZE 128 static int remaining(int wrote) { -- 2.41.0