Message ID | 20220320171135.2704502-1-richard.henderson@linaro.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:1248:0:0:0:0 with SMTP id z8csp874042mag; Sun, 20 Mar 2022 10:13:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKrbTgGFxWA/pWrZJt+FIh43YAtRdGRDjmRjQ9sq/GRSEHXwaSbwv3VTsT1WNNG8EyDT+r X-Received: by 2002:ad4:53c5:0:b0:42c:c4d4:65d with SMTP id k5-20020ad453c5000000b0042cc4d4065dmr13216182qvv.98.1647796433112; Sun, 20 Mar 2022 10:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647796433; cv=none; d=google.com; s=arc-20160816; b=EFQDf6jna7SzPFxjPBkO4IIxV76rA0JcfsBiEG86PURsr/wuEApDtPedKp9tzxJfou jF3bIS4YUA/l281o5RcPlc9K8g4GjMVsxrXtwEeFSVDHZ6SmbQlWYIkJy44UnNkDOUUg bKn/T1VLSXvsR2j3ea5I7KDnh8+JrPJZUc9q3rRwuUPcuawDfzwvtlsSXz6ShC5iHCzL lhACngQZS/Fg2JlVYU6izFXdvy3GoIjYxPz1SSxjlysM1ogccs/rTLWUQ8I0B5SCGZS1 t2cLtfbTLdGBYewmGYY2+F4UaGpNEfglakh50AmkkxOfbMaegceM2X7nvRWlZNNa2LKO GqlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=Cn7Tq9d8JU/29Z2I0zkVPYVTmmMiHTu6JIy+zbzkI4w=; b=R8r+mlUmg49cGNRYnYniWi0fp8hmJC+4qHQMAwMLRp8RHdU+oC622WdZYpIBKBQFEQ mta+BESmW+7MTM0nnFe8ptWNhTQKfh37izSnYk0llgmfgx7Wx4EBYjN9W1N/BjC9SPF7 7IHrXoBqswTr7LD6dsJsvXzRwG8T+EQR2gWzzMvP6mp/Daae8dwJDDg66Yd5+Dk0hJYJ 8jQVyqPaY9VFugz3EFhahT+iFU2A2DY4NrjwPMsqTJ7HVypprjk8vCx/IJymg8OUBR+r 2IXszgx54F57z8aQDh+g9MLvQdVR3NG2vpRhUrqz1v6EYpRPAVZFon420JJQJAU4Vg5F v6aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iRydV+Xy; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y9-20020a05622a164900b002e1fe77fdc2si1456862qtj.681.2022.03.20.10.13.52 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Mar 2022 10:13:53 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iRydV+Xy; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:53508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1nVz7o-0008Jp-Fu for patch@linaro.org; Sun, 20 Mar 2022 13:13:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1nVz5g-0008JQ-GU for qemu-devel@nongnu.org; Sun, 20 Mar 2022 13:11:40 -0400 Received: from [2607:f8b0:4864:20::535] (port=34779 helo=mail-pg1-x535.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1nVz5e-0003Ph-9J for qemu-devel@nongnu.org; Sun, 20 Mar 2022 13:11:39 -0400 Received: by mail-pg1-x535.google.com with SMTP id t187so8736966pgb.1 for <qemu-devel@nongnu.org>; Sun, 20 Mar 2022 10:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Cn7Tq9d8JU/29Z2I0zkVPYVTmmMiHTu6JIy+zbzkI4w=; b=iRydV+XyUOvmgRxaOt1BxfPFBSjHnki5cJTEeZXNNYWpiSmAJSgx4j/g0KI+Yc1ehp zq5WDeetqCfZs5kbzgXcajzccfIqd+Pv1AAZOaOYO5xnTQBlIqUyxBLkANxAEEvSJU5w OY9+NyMX8r5F3Es6GvGDrvUFX44KuRJOgssnAI81mRgN6MG0ZffFB1A3uYeY08WaqTV8 BIoUqCrROC+yCakICsW4BNKu9vyAZ2yHIOL+Nzam4A5aLlzyvvWSV3xz76utM1lyqJal +0JNljJisHkOVub72AJUiEhe46LwQh2maoQPPmTwxel/Qk8bMhfeqkzDt4LCeydR0gav G1gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Cn7Tq9d8JU/29Z2I0zkVPYVTmmMiHTu6JIy+zbzkI4w=; b=nhRgxEHXvf+FfH95WlaAmCfIx/tyImusESdEXamSgInkp6EI7KOp2x2j00geYB1Sn1 B8tc5+alsdga9ABP+RHO4H2bEvOxc+QwYM013J8GHFBZTaCoJR/p4x5QkNXCRqsyNOjH ydN/IaYNCFLBzpqsQDdItiO0vH6PF2UMQLaE7f5X52+mPFVvCb2ibI7MJ6Wy00xI+nk4 /dbLKe0De3rEbfAysGUp63qhGerjjP/LBicz54Up115iJad6lSF/VmCGNGNt29wWLrDH HWtmY1d7x9EihdxHS3mnd8AzCsH0fDmYqH7+/zDCJHcUP64ScSbKLmi6qq/EiKPuSUKa IX9g== X-Gm-Message-State: AOAM530EOOezvjJifZTrXYHHDagiJqwx4syY2jvRJKAVrksRgZFxLsXK kkiOTJK9aXj+bDYPMHrH8ALOkq/mQgbHCw== X-Received: by 2002:a05:6a00:887:b0:4f2:6d3f:5b53 with SMTP id q7-20020a056a00088700b004f26d3f5b53mr19839443pfj.21.1647796296547; Sun, 20 Mar 2022 10:11:36 -0700 (PDT) Received: from localhost.localdomain (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id q12-20020a17090aa00c00b001bc6f1baaaesm17149697pjp.39.2022.03.20.10.11.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Mar 2022 10:11:36 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL for-7.1 00/36] Logging cleanup and per-thread logfiles Date: Sun, 20 Mar 2022 10:10:59 -0700 Message-Id: <20220320171135.2704502-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::535 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x535.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
Logging cleanup and per-thread logfiles
|
expand
|
On 3/20/22 10:10, Richard Henderson wrote: > Most of the changes here reduce the amount of locking involved > in logging, due to repeated qemu_log calls, each of which takes > and releases the rcu_read_lock. > > This makes more use of qemu_log_lock/unlock around code blocks, > which both keeps the output together in the face of threads and > also plays the rcu_read_lock game only once for the block. > > Finally, add a -d tid option to open per-thread logfiles. > This can be extremely helpful in debugging user-only threads. Gah. I didn't mean to write 'PULL' here, just PATCH. r~