From patchwork Thu Jun 6 10:39:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 801985 Delivered-To: patch@linaro.org Received: by 2002:adf:f147:0:b0:35b:5a80:51b4 with SMTP id y7csp226368wro; Thu, 6 Jun 2024 03:41:17 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXymd4TcY2DG3CccizBwAm/0VlA+TLzZlUI8XbxKh+TbvxCOCUy+IVg3SxH+0pDeWBYWVvEZN49EMnyL82XsCmo X-Google-Smtp-Source: AGHT+IFb1joc9Cdvpe9Tx0kRkQib73b8KSZndF3qvzFCawhUTdj321dTwKd3vMip1XbhY2Le66Ap X-Received: by 2002:a05:6214:5bc4:b0:6ad:4ae3:ed2b with SMTP id 6a1803df08f44-6b04c066a86mr47850906d6.23.1717670476992; Thu, 06 Jun 2024 03:41:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717670476; cv=none; d=google.com; s=arc-20160816; b=GGnO1y7JU3QqUgfdwrLFp7Fx0ueB00mSLaZ0txsiXrO29nwqf8gJOxHPVOjb2zlu5o ii3jyo8kPdJmcMkpUC2UjR9gYRQD3/5RCYxoEDhfnI/O1NSh1ePWmDDXAAOjXBg4iPUg rkhc6lwnrJdwX07nOREiyaaDNTeoDkRWRejyE9phw+7N7lU4gsHaWn5lwTXUu21evwNr n53XSu2xs5fQDsAJbA+74CuE61EsZNO3aB86ifBrn8h4L78SziC35p895NolmWS5uCQH hSwVwcmJFSrtFi1vW6CBimdBTKT8xROM2qnG8xjdhrFTqNPn6GT5rPt6VH2FL+z/B0em OTfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=UJQM9NsMMAJH9bY3Q3nzlpRNxIjB2sYAJahUizBDung=; fh=PzDM2D96kiCYo4l0PRMdYHJO7wAlAxW3siP0EoLGZRQ=; b=WFaE04QfF+hW3tVgtWk+LApSPx4yUkO2alHjE6K5gVrPKwFsx3QdyeBaXMQ20f4kM1 HIqn7YCm/dej0EOw0dUmSp0IjZ37WG0i5gWm1gboF4QI0mToMU/3qGgq5mYA6+5nsW8Z L2TecO85dEdXb93ZfLGHo2JPSTIhA+0yZhEpUmvg4pCKjzteKlZawyIMC9n7kR16RbiN cGnk/OC9QuV7lniiGxaThiTbBtQjTlSIw/nfOONRjWcBZ21Tf0RSVK7dXUr+VvR+0Tzb gpnIrbGpeB0TPtrCI6OAX2/WHGtnU0gvciYT9iv5VNg27MJbsc12rBk0cZXlsUMzjQ3d SUIQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bqAHOmcn; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04f9be478si11937626d6.374.2024.06.06.03.41.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Jun 2024 03:41:16 -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=bqAHOmcn; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFAXf-0003sy-U8; Thu, 06 Jun 2024 06:40:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFAXb-0003rx-6R for qemu-devel@nongnu.org; Thu, 06 Jun 2024 06:40:20 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFAXW-0002xa-HG for qemu-devel@nongnu.org; Thu, 06 Jun 2024 06:40:18 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4213b94b7e7so4465925e9.0 for ; Thu, 06 Jun 2024 03:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717670412; x=1718275212; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UJQM9NsMMAJH9bY3Q3nzlpRNxIjB2sYAJahUizBDung=; b=bqAHOmcnRUJveVbMovHHv85HE2FZthdJUWL6LQZ58rlWGzU+/fMg0drmnGdnLAoozO ET7lK1ttzXUdDG7j7N/AzqP0WGnhAS4eBxm0s7usOdbObc6/DWv64Z/C8M19wxAzllLl hJcq90BHjLoqQBNeKJf/OmF2cBpJpilh2SUnZ4jDbo6qfo823CRRJIjREO4YORJfqNe+ 5+t0gphlH/nKw/IaCT3XK8h3GOv27e7OMNrdsNNdq34uhOZNV7EvOc3q/f2dPDMXVoGN kK78irRJattGpLYYi8+/lru5V4GxGYKJVQpPV4EHHOupdIwQVcnqnHUKV1mk0V71WRCz 0wsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717670412; x=1718275212; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UJQM9NsMMAJH9bY3Q3nzlpRNxIjB2sYAJahUizBDung=; b=N9eCu5h79OiCWCCdv1LyjTmkvhxCRs9Bsv39TbxzKzOB+dV7KMvoskJ+f12S0M79Ty XmdTfhvxTA0a3CsN57sx/ooNRZqkY4hyMzKnPEhNEpKoKq8jMvbppjFt55CTTLj+l8qG CnAAGq34bllkIaF98SlNcqFKx26Rm/+sKCLD+nl8dHYSrbJ3kdciWiffcD497kdFblqA a6EfMp1gs8ayI/e3Nwkyk6+29NcpuLtEkenCINExsoVqtcYrHRSI2tS1Y0RuiFZaGjja JUnBOXli2YJwxLq/4DZ090M0P5fZ53ziuvsv+JzGge0vMOtYLiaOWMClak5AKLmetbtD br0g== X-Gm-Message-State: AOJu0YzFLAd0/Gvt2roebiKdaSw50eFJI/frZQhKC6BDuwWtayVONXlC 6pzLaI43jJ7t5vRVpYer8hR3KStnuw9QxV2GPkZ54vI2cCOYET1E8IubpTiO9GB8Nj1JudYP8L2 LyCI= X-Received: by 2002:a05:600c:314c:b0:418:5ef3:4a04 with SMTP id 5b1f17b1804b1-4215ad180b9mr21005735e9.18.1717670412599; Thu, 06 Jun 2024 03:40:12 -0700 (PDT) Received: from localhost.localdomain (94.red-88-29-105.staticip.rima-tde.net. [88.29.105.94]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42158102a69sm51547525e9.15.2024.06.06.03.40.10 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 06 Jun 2024 03:40:12 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Alex Williamson , =?utf-8?q?C=C3=A9dric_Le_G?= =?utf-8?q?oater?= , Mads Ynddal , Stefan Hajnoczi , Yoshinori Sato , Stefan Berger , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH 4/5] hw/vfio: Remove newline character in trace events Date: Thu, 6 Jun 2024 12:39:42 +0200 Message-ID: <20240606103943.79116-5-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240606103943.79116-1-philmd@linaro.org> References: <20240606103943.79116-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=philmd@linaro.org; helo=mail-wm1-x330.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Trace events aren't designed to be multi-lines. Remove the newline characters. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Daniel P. Berrangé --- hw/vfio/trace-events | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/vfio/trace-events b/hw/vfio/trace-events index 64161bf6f4..e16179b507 100644 --- a/hw/vfio/trace-events +++ b/hw/vfio/trace-events @@ -19,7 +19,7 @@ vfio_msix_fixup(const char *name, int bar, uint64_t start, uint64_t end) " (%s) vfio_msix_relo(const char *name, int bar, uint64_t offset) " (%s) BAR %d offset 0x%"PRIx64"" vfio_msi_enable(const char *name, int nr_vectors) " (%s) Enabled %d MSI vectors" vfio_msi_disable(const char *name) " (%s)" -vfio_pci_load_rom(const char *name, unsigned long size, unsigned long offset, unsigned long flags) "Device %s ROM:\n size: 0x%lx, offset: 0x%lx, flags: 0x%lx" +vfio_pci_load_rom(const char *name, unsigned long size, unsigned long offset, unsigned long flags) "Device '%s' ROM: size: 0x%lx, offset: 0x%lx, flags: 0x%lx" vfio_rom_read(const char *name, uint64_t addr, int size, uint64_t data) " (%s, 0x%"PRIx64", 0x%x) = 0x%"PRIx64 vfio_pci_size_rom(const char *name, int size) "%s ROM size 0x%x" vfio_vga_write(uint64_t addr, uint64_t data, int size) " (0x%"PRIx64", 0x%"PRIx64", %d)" @@ -35,7 +35,7 @@ vfio_pci_hot_reset(const char *name, const char *type) " (%s) %s" vfio_pci_hot_reset_has_dep_devices(const char *name) "%s: hot reset dependent devices:" vfio_pci_hot_reset_dep_devices(int domain, int bus, int slot, int function, int group_id) "\t%04x:%02x:%02x.%x group %d" vfio_pci_hot_reset_result(const char *name, const char *result) "%s hot reset: %s" -vfio_populate_device_config(const char *name, unsigned long size, unsigned long offset, unsigned long flags) "Device %s config:\n size: 0x%lx, offset: 0x%lx, flags: 0x%lx" +vfio_populate_device_config(const char *name, unsigned long size, unsigned long offset, unsigned long flags) "Device '%s' config: size: 0x%lx, offset: 0x%lx, flags: 0x%lx" vfio_populate_device_get_irq_info_failure(const char *errstr) "VFIO_DEVICE_GET_IRQ_INFO failure: %s" vfio_attach_device(const char *name, int group_id) " (%s) group %d" vfio_detach_device(const char *name, int group_id) " (%s) group %d"