Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5510537pxj; Wed, 26 May 2021 12:14:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfJPOmaOB/lRowu1C5lieNHIdTxr+slN77i0VE+Ce/J/WsIMf/xD+0A9W/btGYsxy5g7xi X-Received: by 2002:a17:907:161f:: with SMTP id hb31mr18645233ejc.278.1622056493732; Wed, 26 May 2021 12:14:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622056493; cv=none; d=google.com; s=arc-20160816; b=SBYezaPSykQ5hnXnlSrIIpDmbAL1kmDUCf9vIEU8T6K0d4WVC9IGeP9riCz2+akt4H xwq4ajO0Fh/Tu+moU/faM1HFMXWc7aLvCFaB0dTLy24l/xnynot4e3f3XeCjViNVYDnB Hl/FuErNy0QqKIhiIo0I/CtE+b0UVt7c12M+/edxdYCC5APpl1CmF8IcFiUmsycDBAVb oCBQg7i+7jgGu+qceOP2uREJhC0A4kFtk71ykkhvjBy+zDQJRBi+hVI6PX34mq1Jybvl 1+CyqzdrCG6IcuIuZAgTRRljJNUs9KpVNoyxI6H1Ye3R0IJ6Vfuvzr05/rBUSd8mUX3y T8LA== 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 :user-agent:organization:references:in-reply-to:date:to:from:subject :message-id; bh=+X6P73Fmo6BF5u7zLXjI2mihT5gQerEH4aMcpnjFX7M=; b=mcv4scxFGzrNKo7zNdrx0Vl7aFvLa2kYlegja8+74VqqW26I2DMpNzz33Psa8DSIx3 /XBTTmUHUoPUO6CVK9ZlAaah22zmoO91XDTyu2WfTmkmxaoUVA9MsTX5CU6KK9GDXTay zy425va5rI8Ix5gNjmReh8TbEewgQZ9Lutm+aqh4eLuTv/zfpsiSj2yp3GwpMUQQ3C1/ x/da3EFJCpQRepdMqhvlLbFE5xgy7egyHxcrOm095UCDIV/Z2tarGtLkMDvEE5V9Oc37 SAEuMD4YR6Fg5A2oGGtcqPxmgkBaP2k5H4tf2QWmTVkeWW0rgzNrcYbBaHLmec9lYR+y eNFA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si188090edq.472.2021.05.26.12.14.06; Wed, 26 May 2021 12:14:53 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234370AbhEZRVE (ORCPT + 99 others); Wed, 26 May 2021 13:21:04 -0400 Received: from cloud48395.mywhc.ca ([173.209.37.211]:54900 "EHLO cloud48395.mywhc.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234048AbhEZRVD (ORCPT ); Wed, 26 May 2021 13:21:03 -0400 Received: from modemcable064.203-130-66.mc.videotron.ca ([66.130.203.64]:53002 helo=[192.168.1.179]) by cloud48395.mywhc.ca with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1llxBp-0005Rh-26; Wed, 26 May 2021 13:19:29 -0400 Message-ID: <2285bf713be951917f9bec40f9cc45045990cc71.camel@trillion01.com> Subject: Re: [PATCH] io_uring: Add to traces the req pointer when available From: Olivier Langlois To: Stefan Metzmacher , Pavel Begunkov , Jens Axboe , Steven Rostedt , Ingo Molnar , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 26 May 2021 13:19:27 -0400 In-Reply-To: <9505850ae4c203f6b8f056265eddbffaae501806.camel@trillion01.com> References: <60ac946e.1c69fb81.5efc2.65deSMTPIN_ADDED_MISSING@mx.google.com> <439a2ab8-765d-9a77-5dfd-dde2bd6884c4@gmail.com> <9a8abcc9-8f7a-8350-cf34-f86e4ac13f5c@samba.org> <9505850ae4c203f6b8f056265eddbffaae501806.camel@trillion01.com> Organization: Trillion01 Inc Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud48395.mywhc.ca X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - trillion01.com X-Get-Message-Sender-Via: cloud48395.mywhc.ca: authenticated_id: olivier@trillion01.com X-Authenticated-Sender: cloud48395.mywhc.ca: olivier@trillion01.com X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2021-05-26 at 12:18 -0400, Olivier Langlois wrote: > > > > If that gets changed, could be also include the personality id and > > flags here, > > and maybe also translated the opcode and flags to human readable > > strings? > > > If Jens and Pavel agrees that they would like to see this info in the > traces, I have no objection adding it. > I need to learn to think longer before replying... opcode in readable string: If Jens and Pavel agrees to it, easy to add flags: You have my support that it is indeed a very useful info to have in the submit_sqe trace when debugging with traces flags in readable string: After thinking about it, I wouldn't do it. Converting a bitmask of flags into a string isn't that complex but it isn't trivial neither. This certainly adds a maintenance burden every time the flags would be updated. I wouldn't want that burden on my shoulders.