Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1260045pxj; Fri, 21 May 2021 09:54:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYYJpYCWE80e3YKurnHpzy+eV8TUyuqR8yFqNg2nfsCN+nT/J123e483Y67/Av92IbeRzd X-Received: by 2002:a17:906:3da9:: with SMTP id y9mr11227893ejh.303.1621616084400; Fri, 21 May 2021 09:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621616084; cv=none; d=google.com; s=arc-20160816; b=quEXfPN7VAFtVe1u+6I11A6utVpdYmXnoHvbzxLVO8PFbYHVaQX49z1+Gz1UQk8q8N +AX7SkibMsBKQpTAIGu6/KYF/6m8Vt0xRHLXmRcla/MA0L+y4cyzMq9+AEKUg9VsXzEZ 8Wylg0drArsNVnd2+ZRkWrTC+54HUho6KWjYd5gUaKF9U3ASkmSzhf/FaX5BH/opaLAh gWTtazAAUlkkztjiqXwB4w+Yy/dQcgMzBELea2UP9bjfEgAzpp9GAb1+Jc4VlMAcn+UO OfeAlx/4Oh6TyYfE0O2tM46C0CmUjm86bUWgkQekH0Vwk/m4kGuDX27GEAqJSWZTm+fn d5tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2fgv6quaAojndVwSYVCltsVkau3dKg8d9BBkNJEHikk=; b=qNnfnK7l1+pOvZSBQW6+ftF6vlasZw7UZiGzFvK0wDcqg/UnU476fwpLS2xcxtrTpU schlpPYUSViEENHaArN5aWOiQmnQlz97RHLKo3agYq/5DqM6ceb+JslxchD4RnweVgN6 3alyY17ucOkR9yuZSm81v3UIuLEFXEclqS5MSpk2M9ZYf8RVXwtgzN1v0oQSc75JG8Mh rd/I+KB4Wp9xRufAcU0bUJdSKpF6PyMlithz9olDHqToWxJ5dAD6sawnukF3EU2V51JD B+i/5PcT9DpR5HHqp74AI6SsJqz2CMKxeyAVtRSik7DuH43t858z9wZ1Ily59QG7MODR hxcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kaspersky.com header.s=mail202102 header.b=wCEvA7Xr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=kaspersky.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kb8si5794545ejc.312.2021.05.21.09.54.21; Fri, 21 May 2021 09:54:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kaspersky.com header.s=mail202102 header.b=wCEvA7Xr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=kaspersky.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235773AbhETTVp (ORCPT + 99 others); Thu, 20 May 2021 15:21:45 -0400 Received: from mx13.kaspersky-labs.com ([91.103.66.164]:30322 "EHLO mx13.kaspersky-labs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238111AbhETTVl (ORCPT ); Thu, 20 May 2021 15:21:41 -0400 Received: from relay13.kaspersky-labs.com (unknown [127.0.0.10]) by relay13.kaspersky-labs.com (Postfix) with ESMTP id EBE545212D6; Thu, 20 May 2021 22:20:14 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kaspersky.com; s=mail202102; t=1621538415; bh=2fgv6quaAojndVwSYVCltsVkau3dKg8d9BBkNJEHikk=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=wCEvA7Xrl4WuzPaLA4/Oav9hrK1TfXfcFF28lYzjGvsiFltUVK6wcfh5Xa/dhkBIk 3hLl5GoAiDPIbeQQaR9/47q0+NkS07WKMkF5LBoTwLkFMVLxxsnpVIF2V5kBvfLIUU f71JkVomRQD+wJktliXMCk47jR1oUZ+CUf4mQncVP4fYILJINEgYlozlKUVpwQYbXx 7U3oVV5QXBBVUh565k9SlNDVjR58l/3IAiXkt4LDsE0Prlo2jFkH+g8We9dL4/PHeQ 9mbJBKFFk1yDnS3FSI+biLCWORQhRvGJSIHsJzLV1r2w/I1DgfOPCQQ8/QSk2AZ31y Y71MshpRaJ04A== Received: from mail-hq2.kaspersky.com (unknown [91.103.66.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client CN "mail-hq2.kaspersky.com", Issuer "Kaspersky MailRelays CA G3" (verified OK)) by mailhub13.kaspersky-labs.com (Postfix) with ESMTPS id EBABF52129F; Thu, 20 May 2021 22:20:13 +0300 (MSK) Received: from arseniy-pc.avp.ru (10.64.68.128) by hqmailmbx3.avp.ru (10.64.67.243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.14; Thu, 20 May 2021 22:20:13 +0300 From: Arseny Krasnov To: Stefan Hajnoczi , Stefano Garzarella , "Michael S. Tsirkin" , Jason Wang , "David S. Miller" , Jakub Kicinski , Steven Rostedt , Ingo Molnar , Arseny Krasnov , Jorgen Hansen , Norbert Slusarek , Colin Ian King , Andra Paraschiv CC: , , , , Subject: [PATCH v10 18/18] virtio/vsock: update trace event for SEQPACKET Date: Thu, 20 May 2021 22:20:04 +0300 Message-ID: <20210520192008.1272910-1-arseny.krasnov@kaspersky.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210520191357.1270473-1-arseny.krasnov@kaspersky.com> References: <20210520191357.1270473-1-arseny.krasnov@kaspersky.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.64.68.128] X-ClientProxiedBy: hqmailmbx2.avp.ru (10.64.67.242) To hqmailmbx3.avp.ru (10.64.67.243) X-KSE-ServerInfo: hqmailmbx3.avp.ru, 9 X-KSE-AntiSpam-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 5.9.20, Database issued on: 05/20/2021 18:58:27 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 10 X-KSE-AntiSpam-Info: Lua profiles 163818 [May 20 2021] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: arseny.krasnov@kaspersky.com X-KSE-AntiSpam-Info: LuaCore: 446 446 0309aa129ce7cd9d810f87a68320917ac2eba541 X-KSE-AntiSpam-Info: {Prob_from_in_msgid} X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;arseniy-pc.avp.ru:7.1.1;kaspersky.com:7.1.1;127.0.0.199:7.1.2 X-KSE-AntiSpam-Info: Rate: 10 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Deterministic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 05/20/2021 19:01:00 X-KSE-AttachmentFiltering-Interceptor-Info: no applicable attachment filtering rules found X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 20.05.2021 14:47:00 X-KSE-BulkMessagesFiltering-Scan-Result: InTheLimit X-KSE-AttachmentFiltering-Interceptor-Info: no applicable attachment filtering rules found X-KSE-BulkMessagesFiltering-Scan-Result: InTheLimit X-KLMS-Rule-ID: 52 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiSpam-Interceptor-Info: not scanned X-KLMS-AntiPhishing: Clean, bases: 2021/05/20 17:27:00 X-KLMS-AntiVirus: Kaspersky Security for Linux Mail Server, version 8.0.3.30, bases: 2021/05/20 14:47:00 #16622423 X-KLMS-AntiVirus-Status: Clean, skipped Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SEQPACKET socket type to vsock trace event. Signed-off-by: Arseny Krasnov --- include/trace/events/vsock_virtio_transport_common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/trace/events/vsock_virtio_transport_common.h b/include/trace/events/vsock_virtio_transport_common.h index 6782213778be..b30c0e319b0e 100644 --- a/include/trace/events/vsock_virtio_transport_common.h +++ b/include/trace/events/vsock_virtio_transport_common.h @@ -9,9 +9,12 @@ #include TRACE_DEFINE_ENUM(VIRTIO_VSOCK_TYPE_STREAM); +TRACE_DEFINE_ENUM(VIRTIO_VSOCK_TYPE_SEQPACKET); #define show_type(val) \ - __print_symbolic(val, { VIRTIO_VSOCK_TYPE_STREAM, "STREAM" }) + __print_symbolic(val, \ + { VIRTIO_VSOCK_TYPE_STREAM, "STREAM" }, \ + { VIRTIO_VSOCK_TYPE_SEQPACKET, "SEQPACKET" }) TRACE_DEFINE_ENUM(VIRTIO_VSOCK_OP_INVALID); TRACE_DEFINE_ENUM(VIRTIO_VSOCK_OP_REQUEST); -- 2.25.1