Message ID | 20220420180618.1183855-14-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 7ac5c0b7ba0298f1f3b7f0678abab7ba150ee71f |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp4408328map; Wed, 20 Apr 2022 11:20:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymdmvj73KUqtSb1tX8fWUDoI3zpzQRNfdbZAimpT4LPX/GD0vZ4eTtMr0AwCOUvLEJFdNw X-Received: by 2002:a0d:ea42:0:b0:2eb:eaf1:eb71 with SMTP id t63-20020a0dea42000000b002ebeaf1eb71mr22468567ywe.57.1650478845098; Wed, 20 Apr 2022 11:20:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650478845; cv=none; d=google.com; s=arc-20160816; b=vNLBXWmII7ow/XMyarYSOEJvm1+66bAi4OoDOBM5PjsEn5bzdKU4rN2ogwii48oBak 8uu0QflzidvvnB5MdMCsV5N7oFI1yFxry10gNxi8ickwyNTxGVu9GdaVqY5axT7GE0ay ZAIKtYtbVLTA4HgWvQM7Tuf44mR+cvVzZXxpgoN0c8dc8jPn9I1XaUO259C8wR+156Gc 0BiHYAYnEd/nEgSltG2thuL40Ee0HOFjXmXomWBW1yRkRLndjFzII+bjL/99jBUKTXsq NIRlM2tcfT3SBQiHJAyvWjfgsnEaMQo8tw1lWDp3LMO60tD1rHgmZsUSPtzt7W+HedLa Wfmg== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=YBEnYIn1GV5idkFObB274C97yF/rcyYAk+xYD7a+lYQ=; b=O2ZWMSjtCm/WFMyWqu63Dds/uq3KGeBCAKOVTP/NnaGIBK19hjUzGIXY+gwF1szjcP MWgt+lxsd61iXRg0tppguddONcbWufQWVRkH/TQTmF7GiXicxQGNuDRqJ/uTHsHQpFYM f15+HDydOZadS9uwh9ey/VL+7zfiRnIDGVj7Kf1wpKxziKygM5oFGIAV3UHcGl/bKw86 UNE7LIvu7JCr1hgJJy3JOBsmtnhf2N/HCgTAZlxLLh0hWeCJkryB9DgIRl8PNMtYfs8y OvOc81Xxw2DwdsbB7FJ7hsIdi1qV1vkKt5e2nrIE/Qxijyc4Hl7xxh/2M+j7AYwCnT7Z tZDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q5PprUS2; 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 z188-20020a254cc5000000b0063e8ee7a95asi524978yba.119.2022.04.20.11.20.45 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Apr 2022 11:20:45 -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=q5PprUS2; 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]:36700 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 1nhEwW-0001lQ-GV for patch@linaro.org; Wed, 20 Apr 2022 14:20:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53258) 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 1nhEiq-0005S2-SK for qemu-devel@nongnu.org; Wed, 20 Apr 2022 14:06:36 -0400 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:40956) 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 1nhEip-0001Cq-Av for qemu-devel@nongnu.org; Wed, 20 Apr 2022 14:06:36 -0400 Received: by mail-pj1-x102b.google.com with SMTP id md20-20020a17090b23d400b001cb70ef790dso5617876pjb.5 for <qemu-devel@nongnu.org>; Wed, 20 Apr 2022 11:06:34 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=YBEnYIn1GV5idkFObB274C97yF/rcyYAk+xYD7a+lYQ=; b=q5PprUS2S1xxjv8u1Nt0QMCtBnGwfuq3HSP62uIZnxwFLcZW8kLCgxdWCWqJjiEh0t WvA1BwRAnzLeQ/vNg4q8JDF0pAWTgt2G1OCge1DQoPm3sElXQvm3m0+X5AR0DEnysOSe 1EVOIrPIG2cQZOOZpGHXYWsZuU4VfEBHpoRZSP+aYl0HSxGZbX14pgma1qtTv3x0UEEv Ao19qXofWYvCSPta4+P6Im1Qjhhwnazz7HJFHm/POk9TGGv3EfHs06HlXGHxyRcxtemO sRhdfI+7b6LXM7RdVH0k5jhrYewpO7kLOeNNx/aJwceLzUEavthNvuz/6rAYfGmqFhwD tWQw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=YBEnYIn1GV5idkFObB274C97yF/rcyYAk+xYD7a+lYQ=; b=a0Mf84MpXtMEM7ymz45grw9RvmmgOjXK6zFPdttXr+j/3Sm1acM0B07wqAH7FAQwdP x3SQgwxcIS/o2dMjnChWCAgq2kLkgMEwmWts4LTuS6MriG/iBphMY9m3T6r2ushH4qru tfZKFGQxbwGnovb+IswHIG2KiKMRj6SK/SjqWHPgaX2F6sXpEIaieMuls+vKwcrGYxHd 2icaJukTsRyFzjgBp6tuCsfIYAgEQIp7m2d/9zOSywipq5NcuzBzaLPvR0uQiPMvXNSd NNevULJAJdgaLya41XZYxcB5y3hpcypxIDfMi2yHiyDWQWEa4HpAUgJWrGLXwMZ6rY7U s71Q== X-Gm-Message-State: AOAM530FmW5ncmlGLqGPqFgL/36WHxycq/dtQVedVddm6AehE0oF0rFZ kN8UEXTwrh2OKYGWsgYp9AwA+hTqF1zxKg== X-Received: by 2002:a17:902:cacb:b0:158:694f:240e with SMTP id y11-20020a170902cacb00b00158694f240emr22177797pld.153.1650477993847; Wed, 20 Apr 2022 11:06:33 -0700 (PDT) Received: from stoup.. (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id i2-20020a17090a058200b001d2fc489b8asm56681pji.25.2022.04.20.11.06.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 11:06:33 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 13/39] exec/log: Remove log_disas and log_target_disas Date: Wed, 20 Apr 2022 11:05:52 -0700 Message-Id: <20220420180618.1183855-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220420180618.1183855-1-richard.henderson@linaro.org> References: <20220420180618.1183855-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: =?utf-8?q?Alex_Benn=C3=A9e?= <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 |
[PULL,01/39] util/log: Drop manual log buffering
|
expand
|
diff --git a/include/exec/log.h b/include/exec/log.h index 648f4d2263..06ab9841ee 100644 --- a/include/exec/log.h +++ b/include/exec/log.h @@ -43,30 +43,6 @@ static inline void log_cpu_state_mask(int mask, CPUState *cpu, int flags) } #ifdef NEED_CPU_H -/* disas() and target_disas() to qemu_logfile: */ -static inline void log_target_disas(CPUState *cpu, target_ulong start, - target_ulong len) -{ - QemuLogFile *logfile; - rcu_read_lock(); - logfile = qatomic_rcu_read(&qemu_logfile); - if (logfile) { - target_disas(logfile->fd, cpu, start, len); - } - rcu_read_unlock(); -} - -static inline void log_disas(const void *code, unsigned long size) -{ - QemuLogFile *logfile; - rcu_read_lock(); - logfile = qatomic_rcu_read(&qemu_logfile); - if (logfile) { - disas(logfile->fd, code, size); - } - rcu_read_unlock(); -} - #if defined(CONFIG_USER_ONLY) /* page_dump() output to the log file: */ static inline void log_page_dump(const char *operation)