Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp853775rdf; Fri, 3 Nov 2023 18:39:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmWCG4A54NDC3CgLjVq0vn4AggUvGwzUorXxkiGwSK1ReCumeNChvmeYQXFzGm45LcN0uG X-Received: by 2002:a05:6808:13d6:b0:3b2:ef9a:4339 with SMTP id d22-20020a05680813d600b003b2ef9a4339mr28621551oiw.49.1699061990019; Fri, 03 Nov 2023 18:39:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699061989; cv=none; d=google.com; s=arc-20160816; b=NZQAX7LSxIJ3ZfY7U2xk4nixKrfOtweUgK2wu63zeQVsw1eQ3UdSWDKxnw/49NdP+9 ak4DrElfaxwy9pV+HVzS2knvijpt8BwNldltRgRSN5ylnGQ1gtVPGqKpmaSdFpVj5JLv P67JCGf/DrySprrK9PRhxYM608/uVtRJyaKRRT9pH2TwbwL0p3d0D9/K3v1ilMhpEAvT x2ypuiBCjpgz00KA2Num4O6tCRkY3onjMefhYEbAxRvETWK7CDx1Os92yQSHuRnhED3Y as1aM4Owy8tJ2vNKANPpq4joPVOyMR7ltwYfhgLETx2/nZ2QW8JYGuOn+P0E5CVQJZwp KA2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=kbsOnSulgetONYUA0TZPEC+3loDt5yYTbkufBTSNzqk=; fh=hm8KtcG5XFjVZPkNvVhFffx0LGsjfjp8SyUB/UtwLxA=; b=B8N0nMtVmiGMFGHHnEZ0Ivd7qsgfuT97nvMhv4kBAfHfqHPbPAFEtvaYl0Ph2OUKeB 33eeC6IvIigTYkuKFrb9Q61ede/kMVTzRh3UDUgWbyDHp86AEijRtlnLuN2m5IyztYXR 1PyDKTVcOELj+4Q5sILq/uUSu0NbElUG1I2SWefWzBdv/JCgIdxWZ8bJ2RjeMqQIWwC6 oXf8xyQbFw1BqnV4nNCFqSw++6thXm40/dCvcy/2JmRj7v4BU7evYj5CZ10qaeClVMua JRPVi3dZXv0/rkMSQlSpKFaE6HNQ9AVs+ZMnwKL1+LLRuGZ27jwSK3yW3qU1RVU5UBii nOGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XoXbHCap; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id ck20-20020a056a02091400b005b99ea68841si2970059pgb.581.2023.11.03.18.39.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 18:39:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XoXbHCap; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2FCBF81C709E; Fri, 3 Nov 2023 18:39:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231909AbjKDBji (ORCPT + 99 others); Fri, 3 Nov 2023 21:39:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbjKDBjh (ORCPT ); Fri, 3 Nov 2023 21:39:37 -0400 Received: from mail-vk1-xa2e.google.com (mail-vk1-xa2e.google.com [IPv6:2607:f8b0:4864:20::a2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BECC6D42 for ; Fri, 3 Nov 2023 18:39:34 -0700 (PDT) Received: by mail-vk1-xa2e.google.com with SMTP id 71dfb90a1353d-49d6bd360f8so1124377e0c.2 for ; Fri, 03 Nov 2023 18:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699061974; x=1699666774; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kbsOnSulgetONYUA0TZPEC+3loDt5yYTbkufBTSNzqk=; b=XoXbHCaprI7q7kF9Nt2eyUAGZ+bokCZzl8ceFZr+ImBa2NODdue+wxmGkqlPbQyV+V G+9HM6eSXhW4A+jyn7tLhjBicyrN+VK0eDjlc8ACAE1Y0wx4QYr2gb/ZQrAHCZSX1GwS dtyq2ofOWU8lk8jOaVsCgwoB1lrlzykcUfeliTujTxoFMX1gzt9dZGtydRIhACZRJOwO y9BwYPd0pYr+ZBoTghstRMeQjHVToAm4X7gtIlUqRsvDWJQ288sE3HYCBYAJzkG9llOk piD2rQueyLYM/knEWLBvlhTm0iphmAtBhR7FIyRGplIEGYR3aKtCLPXe/uTjHNmpTU5T kXRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699061974; x=1699666774; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kbsOnSulgetONYUA0TZPEC+3loDt5yYTbkufBTSNzqk=; b=plXloAXTW/5+cJ/FVVNGtuAErGHAbZUJleFOD73dfs0Wy7GERH7K/DAMlNBmDITOwd nx8y9pWfRA8cxp89ZM1jBHnmHncitYRX+7F1L9MsAcRA61fIAqJglCF2O6c8TaX1rAWM zz19uPSz3+D+atLhda1nHg+jLhYDY4CeDjeLsBSL/cahm0v0slmpqpTkKGR2jtAhjTBW lb9zKBuwSwgg/GrXkXmI+Fn0KJbLhq0B5wI2HTvq4mJkUYJrbcG4mo47pab469VYMj4I 22dNKBvYXmw7xJI5d07XqNcFw7tPavDOteD11GHxlPZ6ynIglRA6vmR+wM1KpjlhZNnr vcfw== X-Gm-Message-State: AOJu0YzUKGOd8qRrEeA1NoMQuE3QgCEFE1ep+rmPbCj61AcD8SyF/ffF iuMg/LXoqlAZZIfH7XPTbK97LI+u/GN3aQwldvM= X-Received: by 2002:a1f:2f81:0:b0:49a:a3ee:d280 with SMTP id v123-20020a1f2f81000000b0049aa3eed280mr20678842vkv.16.1699061973694; Fri, 03 Nov 2023 18:39:33 -0700 (PDT) MIME-Version: 1.0 References: <20231103131011.1316396-1-lb@semihalf.com> <20231103131011.1316396-10-lb@semihalf.com> In-Reply-To: <20231103131011.1316396-10-lb@semihalf.com> From: jim.cromie@gmail.com Date: Fri, 3 Nov 2023 19:39:07 -0600 Message-ID: Subject: Re: [PATCH v1 09/12] dyndbg: add trace destination field to _ddebug To: =?UTF-8?Q?=C5=81ukasz_Bartosik?= Cc: Jason Baron , Andrew Morton , Kees Cook , Douglas Anderson , Guenter Roeck , Yaniv Tzoreff , Benson Leung , Steven Rostedt , Vincent Whitchurch , Pekka Paalanen , Sean Paul , Daniel Vetter , linux-kernel@vger.kernel.org, upstream@semihalf.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 03 Nov 2023 18:39:46 -0700 (PDT) On Fri, Nov 3, 2023 at 7:10=E2=80=AFAM =C5=81ukasz Bartosik wrote: > > Add trace destination field (trace_dst) to the _ddebug structure. > The trace destination field is used to determine output of debug > logs when +T is set. Setting trace_dst value to 0 (default) enables > output to prdbg and devdbg trace events. Setting trace_dst value to > a value in range of [1..255] enables output to trace instance. should we do some expectation setting here ? 255 is something of a promise to more than tom,dick,harry. 16-64 is more suggestive of a limited resource, might encourage more judicious use. will look further later