Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp361296pxb; Wed, 27 Oct 2021 04:29:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9EVTA57ml7zV9ZxaDKCDqfcjaykYEi4sgJWADW4Hgjk3DDWx0evdGj9eVYZgMhV2zrAuw X-Received: by 2002:a17:906:369a:: with SMTP id a26mr37564688ejc.539.1635334147271; Wed, 27 Oct 2021 04:29:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635334147; cv=none; d=google.com; s=arc-20160816; b=rIs0EC5zdEqZLbZC3/2ovmMmSCG5uEm9075YJ0rtyIrdA29AEQwQEpmQtlEvtjl7NE YHBmtvKvX+fwG6ZZ1iPeRDIt7UKvO915QnepCuhLEtwsUyjFo+D4E5Y4uaK1giO5ReUh PmIkL5nsecSrPqLMOHFLvVJ9TGCNr7CGV8G5bycxAy5Zbe5WB3bfVfIuu7rH5S2xKxdl Irm1MXot1e+OjcKCJkgGrBg9gzMyreJkpL9Bp7nSC3EH0ohgkuGf9GMsIfKWZbFyzneH CyYsWg4HVKWKvjbd72oQJhhgPHB/ySVE6h3tXv8YzT52zQX8jk6HNoWnXHQ9gkRq+gQ5 amMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=kUTH1NRedvhC0Dp7RMGLxtHnNo0lDmFjyU5KLzqyqVs=; b=K/JtPcLxpZ8f474MG1xAaxWmYGkjKG9TD3Nuo1ZIRIa0r/IXx8lxdxHq7+gLBo2bv4 Vx9vS9u8A4ptYxs5gQwTIhqefD4+07IkH4k1GGVi6JmHelYEo2JbG0WEGpRpuwNkbnD+ 1eCGvGDmztbIyIfpTSBw39fH2wiEALAUaFX57Zv+fzQBjYb3kno4ckHkUWcI/q5gJwCy id9LHM51XRF6DlfXcosiuD9FJGP6wKMbJw+PjwesJMQFeJ8NwH0BYMmFIS8AUzsWedmJ swcoL8pq+9IAN8p6bLDF+Ws3aB6rhqjuDPMUYTVM1leALio1y+ZqKhIoFrvSkqzma5i1 7zQg== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r20si5015712edd.587.2021.10.27.04.28.11; Wed, 27 Oct 2021 04:29:07 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237444AbhJZVwK (ORCPT + 99 others); Tue, 26 Oct 2021 17:52:10 -0400 Received: from gateway31.websitewelcome.com ([192.185.143.4]:46255 "EHLO gateway31.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237437AbhJZVvx (ORCPT ); Tue, 26 Oct 2021 17:51:53 -0400 X-Greylist: delayed 1278 seconds by postgrey-1.27 at vger.kernel.org; Tue, 26 Oct 2021 17:51:52 EDT Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 5EE9ED8E01 for ; Tue, 26 Oct 2021 16:25:53 -0500 (CDT) Received: from gator4132.hostgator.com ([192.185.4.144]) by cmsmtp with SMTP id fSTSmP67w6dDyfSTTmzDXu; Tue, 26 Oct 2021 14:51:13 -0500 X-Authority-Reason: nr=8 Received: from host-79-18-63-114.retail.telecomitalia.it ([79.18.63.114]:60832 helo=[10.0.0.35]) by gator4132.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mfSTR-0021ZQ-Aa; Tue, 26 Oct 2021 14:51:05 -0500 Message-ID: <46ffc66d-26da-7ac5-0f3f-e86594d2b60c@kernel.org> Date: Tue, 26 Oct 2021 21:50:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH V5 10/20] rtla/osnoise: Add osnoise top mode Content-Language: en-US To: Tao Zhou Cc: Steven Rostedt , Ingo Molnar , Tom Zanussi , Masami Hiramatsu , Juri Lelli , Clark Williams , John Kacur , Peter Zijlstra , Thomas Gleixner , Sebastian Andrzej Siewior , linux-rt-users@vger.kernel.org, linux-trace-devel@vger.kernel.org, linux-kernel@vger.kernel.org References: <6252864d71e1864f60c25c716bc773861929e3fb.1635181938.git.bristot@kernel.org> From: Daniel Bristot de Oliveira In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4132.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kernel.org X-BWhitelist: no X-Source-IP: 79.18.63.114 X-Source-L: No X-Exim-ID: 1mfSTR-0021ZQ-Aa X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: host-79-18-63-114.retail.telecomitalia.it ([10.0.0.35]) [79.18.63.114]:60832 X-Source-Auth: kernel@bristot.me X-Email-Count: 29 X-Source-Cap: YnJpc3RvdG1lO2JyaXN0b3RtZTtnYXRvcjQxMzIuaG9zdGdhdG9yLmNvbQ== X-Local-Domain: no Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/26/21 18:32, Tao Zhou wrote: >> + if (params->stop_us) >> + osnoise_set_stop_us(tool->context, params->stop_us); > osnoise_set_stop_us() also need to check return value feels by me. > >> + >> + if (params->stop_total_us) >> + osnoise_set_stop_total_us(tool->context, params->stop_total_us); > The same here. Also need to check the return value. > > PATCH 10 also has these two places(call the two functions) that not check > the return value. > > Or I am wrong. You are right, reviewing that. Thanks! -- Daniel > > > Thanks, > Tao >