From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0B48C48BC2 for ; Wed, 23 Jun 2021 13:36:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B46F961026 for ; Wed, 23 Jun 2021 13:36:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230505AbhFWNil (ORCPT ); Wed, 23 Jun 2021 09:38:41 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:59738 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230495AbhFWNik (ORCPT ); Wed, 23 Jun 2021 09:38:40 -0400 Received: from mail-wm1-f69.google.com ([209.85.128.69]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lw33G-0006YC-JE for linux-kernel@vger.kernel.org; Wed, 23 Jun 2021 13:36:22 +0000 Received: by mail-wm1-f69.google.com with SMTP id w186-20020a1cdfc30000b02901ced88b501dso1622790wmg.2 for ; Wed, 23 Jun 2021 06:36:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PFaa8u6W+zDom/9rBhd6/YlSvLvLkN2VZM0WHG/5NHM=; b=iL8YQVpp1E2DnSYx0fQaRY8k4F1xrmjzl/qRR4RuUk2ESEoJF1DuM1YkDnrlTyIEvT xXs4dJe7dji2/6lqr5lw/OMzZRwyazeT6jYfUcH65jmkDwsdRwGo+XSfg7YjBowS+ein 9QJmkPj6+deXcIcv9lhlYF587DNBHD76b4SrC3JiZHrLpEg2xVq7uW9dmXGOAlXw0oiP yeLIVqJAwo0JyW+wxmj507zHBqvDrM02esMrg7Qsk78s/OWJohSsy/L2WPutQf/n3JUB VFQ4dHqHsd0gMWtntOKoCFNsq8H4mvhi+BhUxE+t8BGO66J6x/y2Y+5UfSKd/e+tWrrp aRmw== X-Gm-Message-State: AOAM532+xzkM+2r4a6Wqlds6XhhsZkv61fNkxZjqNlhTtALzSy5GrOvm ZJpM7NHv41SQ/t9Aw1g1K0JBmIXk8c6y1Y9QfQf2JMwsGukM2xXeU4lYB46AthAiyo0EKzHtjDX hxIWzDzkQGTY7WhHUgOyMcRwJ4/II3QeaBmY0MRm2wQ== X-Received: by 2002:adf:d1e5:: with SMTP id g5mr92008wrd.0.1624455381986; Wed, 23 Jun 2021 06:36:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybRy5wqQi/MyRrYzKMVng+kPSe8tybjz3FcM588XL8VQzXNstrtsEbZkVnPOoRf/kVevdesA== X-Received: by 2002:adf:d1e5:: with SMTP id g5mr91997wrd.0.1624455381817; Wed, 23 Jun 2021 06:36:21 -0700 (PDT) Received: from [192.168.1.115] (xdsl-188-155-177-222.adslplus.ch. [188.155.177.222]) by smtp.gmail.com with ESMTPSA id n18sm5977606wmq.41.2021.06.23.06.36.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Jun 2021 06:36:21 -0700 (PDT) Subject: Re: [PATCH] selftests/ftrace: fix event-no-pid on 1-core machine To: Steven Rostedt Cc: Ingo Molnar , Shuah Khan , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210623070431.16592-1-krzysztof.kozlowski@canonical.com> <20210623085217.036b7e8d@gandalf.local.home> From: Krzysztof Kozlowski Message-ID: <02d3ed4d-1814-b16d-1885-e6b173e071d0@canonical.com> Date: Wed, 23 Jun 2021 15:36:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210623085217.036b7e8d@gandalf.local.home> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/06/2021 14:52, Steven Rostedt wrote: > On Wed, 23 Jun 2021 09:04:31 +0200 > Krzysztof Kozlowski wrote: > >> When running event-no-pid test on a small machines (e.g. cloud 1-core If someone would be so kind to fix my grammar as well when applying: s/on a small machines/on small machines/ >> instance), other events might not happen: >> >> + cat trace >> + cnt=0 >> + [ 0 -eq 0 ] >> + fail No other events were recorded >> [15] event tracing - restricts events based on pid notrace filtering [FAIL] > > Acked-by: Steven Rostedt (VMware) > > Shua, do you want to take this? > > -- Steve > >> >> Schedule a simple sleep task to be sure that some other process events >> get recorder. s/recorder/recorded/ I can also send a v2 with fixed msg. Best regards, Krzysztof