Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp446642lqz; Sat, 30 Mar 2024 03:46:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMiTFt0thKGiRTItKXYofG6KJuDqOe2smNnl3kxiTaqcaWuk9pbRIqwYQlg9AiVAxQCkhvKfr9u01lEcnOaCo1YhokB4LZWDHNtlJO+Q== X-Google-Smtp-Source: AGHT+IHK/KBk62UA6VtfYGVspB+KkGW22bnB/2xb4I3p4R6IYVQ5vKNEyXt7rDtU/dphFlKmY1F4 X-Received: by 2002:a05:6402:2745:b0:56c:2ef7:f3e6 with SMTP id z5-20020a056402274500b0056c2ef7f3e6mr3571058edd.0.1711795597947; Sat, 30 Mar 2024 03:46:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711795597; cv=pass; d=google.com; s=arc-20160816; b=MzL5GKvK+ua+fjbCvf4i/13Z6DoDhPDYarG5KBcoUeVajM5XFjlJQjuQAEW8ozUbod CVrA2YV5gmGZ2lDnJas9TteSTgC7XM0/7kpQFk2K2nwRF0wfCRoL5yFu5XfckwrewNn+ hKf26wp7NoTZuqOFv2KmKKV7CP0NlEvyZevRgR9qb+xD1smvB8DCDCS4r6h8YpQoKLqa u5d3SCJuVFoHdgeCtWdoJSnQGhvAXX8JRZF7IWJE22PuCiNip6O7V5QXCzLpV0RZFWWm TICtcg29Flzhp/b0KvXE++uIfDZZXEyUiH8P/dks+OKdPotIQtRGkI2qHxB6ZMA3MlsF 6RtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=+AdK4KSizSeidbWmYm5GyZPs2kFSbrYtdmEQ++9F/r8=; fh=wx9nkf3G11FRoOYCgK7j/N1r0FONiujwGfkOP1GEz30=; b=vGwLtYTjOMCDRksDFnfDDWzCv8RDgp0vAGcg946WgK3LX0r6N0AOVM01R4K7YZLTSj z6ZnPP5CQOfDMakbJq6My2mD2b46b90QMzqlA8IJ+pUW6e6FKyhVKtdb8UxZfj5zPtxK RUls9ls2iodD50ugkfaxoTJ1yi193rXzaXnmheSZLYA477DewbYqXNQMwX8M+9937pNS 70czFjtPNS1qwPePFpyGkmeSo34DUuHpIY4Sh4e2zPsGCDGO4lQkKLMBX2s5u2RcKrbH /br/IXR7OrmvnMcwVm9RMOl0wklfmd/xiamYnas+a/P2Bscn/vLKI/0p7yLUy7Pq0xI7 usnQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=KfNX4VsP; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-125675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b8-20020a50ccc8000000b0056c465c3121si2645592edj.407.2024.03.30.03.46.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 03:46:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=KfNX4VsP; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-125675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AB9EF1F21FAE for ; Sat, 30 Mar 2024 10:46:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1442D200D3; Sat, 30 Mar 2024 10:46:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="KfNX4VsP"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="BNeHQC+p" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A682CB67F; Sat, 30 Mar 2024 10:46:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711795591; cv=none; b=g0wemVWL1TiATu54CqpQ4QBAS9uU07qJ8gp+0EHDCjzuAlV2mhG593YHJGaFfqOv+9n6fiDXyf93mUUgUYtQBL17E/WMaBaV96Dk7f+e34uyH/0W8fjohIj+7UaJkhFX8aBUdVOb2+8pvRWz29/kP1R7XW6FIxlHYoHXhWOklj8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711795591; c=relaxed/simple; bh=ZJA04fBQBqXlf25eLmDUaBA6nA6ZjUTtD/VCfrNAki4=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=JLCKx9k3jFCdDe0PB9ap87Q6D8XNZBF006eTdNMJifEeEEWci1WwDxbCpoNrGhodXj1fN0RS48zWW701Kx+zdIQ8mwMH/QWCbiAUH76P2z1tDhReL9IWnF8FYeVRLIAms/WNNskF4k4+qtxmVt5kw2slOJ8qpaIJuIspOL1Mous= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=KfNX4VsP; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=BNeHQC+p; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Sat, 30 Mar 2024 10:46:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1711795587; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+AdK4KSizSeidbWmYm5GyZPs2kFSbrYtdmEQ++9F/r8=; b=KfNX4VsPSkl+rIZMcz1nKGDlRgZmqX7bVeQbiV3HmGap7/Sg57crwKZ5XS9L3nHAIaAyoK tlJkxHa6v2iDP6SjXNylRb6BW077+sEH25H1d7+oWAEPQ8vQFeTIUidmzj0BDIk03VXTd3 kq1tg3WO/mOyUqFb8SmwmjfkPaL20KHc69Ekeka1ayqUF96ENLtO4qh6oXwryREz0zpPjy 8swhFB0ccLW8Sgqdpd8ivgXcB4uIyyWQjLT4wLh1VDb0qHTyfFYzEsWEwbv/62BH1qlSZ9 9zHVE597eoTb2FOLSucaglkS0Dl9OxZwZk69uCQ/VNozfl90ovPmgdK72ToTSQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1711795587; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+AdK4KSizSeidbWmYm5GyZPs2kFSbrYtdmEQ++9F/r8=; b=BNeHQC+pCuZKRmlemuPtWfoHVUwVZ7BymFO0Uns4N6G4sFqfFYMf0UnKBF2N0jxDW+H9fQ TZpBqCRw94BcU8BA== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cpu] x86/mce: Clean up TP_printk() output line of the 'mce_record' tracepoint Cc: Ingo Molnar , Avadhut Naik , "Tony Luck" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171179558664.10875.14209003500081518612.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/cpu branch of tip: Commit-ID: ac5e80e94f5c67d7053f50fc3faddab931707f0f Gitweb: https://git.kernel.org/tip/ac5e80e94f5c67d7053f50fc3faddab931707f0f Author: Ingo Molnar AuthorDate: Fri, 29 Mar 2024 08:11:27 +01:00 Committer: Ingo Molnar CommitterDate: Sat, 30 Mar 2024 11:35:28 +01:00 x86/mce: Clean up TP_printk() output line of the 'mce_record' tracepoint - Only capitalize entries where that makes sense - Print separate values separately - Rename 'PROCESSOR' to vendor & CPUID Signed-off-by: Ingo Molnar Cc: Avadhut Naik Cc: "Tony Luck" Link: https://lore.kernel.org/r/ZgZpn/zbCJWYdL5y@gmail.com --- include/trace/events/mce.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/trace/events/mce.h b/include/trace/events/mce.h index 1391ada..9c4e121 100644 --- a/include/trace/events/mce.h +++ b/include/trace/events/mce.h @@ -55,15 +55,18 @@ TRACE_EVENT(mce_record, __entry->cpuvendor = m->cpuvendor; ), - TP_printk("CPU: %d, MCGc/s: %llx/%llx, MC%d: %016Lx, IPID: %016Lx, ADDR/MISC/SYND: %016Lx/%016Lx/%016Lx, RIP: %02x:<%016Lx>, TSC: %llx, PROCESSOR: %u:%x, TIME: %llu, SOCKET: %u, APIC: %x", + TP_printk("CPU: %d, MCGc/s: %llx/%llx, MC%d: %016Lx, IPID: %016Lx, ADDR: %016Lx, MISC: %016Lx, SYND: %016Lx, RIP: %02x:<%016Lx>, TSC: %llx, vendor: %u, CPUID: %x, time: %llu, socket: %u, APIC: %x", __entry->cpu, __entry->mcgcap, __entry->mcgstatus, __entry->bank, __entry->status, __entry->ipid, - __entry->addr, __entry->misc, __entry->synd, + __entry->addr, + __entry->misc, + __entry->synd, __entry->cs, __entry->ip, __entry->tsc, - __entry->cpuvendor, __entry->cpuid, + __entry->cpuvendor, + __entry->cpuid, __entry->walltime, __entry->socketid, __entry->apicid)