From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 00FE1185B55 for ; Wed, 21 Aug 2024 06:58:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724223501; cv=none; b=N+9vjt2u/Y+N6Py1+nQLHNtveIHTChFx1+P9qksSSg7H3pB4ciow++5VxWRJ8C0tfpPBVr/RFxgBH3CJYJWZJZqK8XBqzTi9Q6iZfiTTYOPoXiIjqG8xvHxY2FqbXCjbSZpfH/hv77YYLPTJ7v2Kt6jjroxLccS3g9f902XIHG4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724223501; c=relaxed/simple; bh=nGwwZKR0gRYMSEgmiBVAnzD1Pp9OdshUmU94NyLhtDc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hq4BpDjeTMynrzaWF8mKnO343PGBA1nJ6T/TDux37DBDWgqRQ8Ah9MxQD3OeSl3nUIHAejeMg9LV4JgWa8go0OskEEu2yRfUjMrdeXRpMf4pDlQP/DkThF4pR5kWuSOSoT9IpjbqyqOwQqcggeE0XRNQt/Dh5IVnYUPUNFeMsLY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZfcvXzTF; arc=none smtp.client-ip=209.85.161.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ZfcvXzTF" Received: by mail-oo1-f53.google.com with SMTP id 006d021491bc7-5d5e97b8adbso3688700eaf.1 for ; Tue, 20 Aug 2024 23:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1724223498; x=1724828298; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lcwV5E+ok4Ru342pseyjnU3pRtPhY0hqDhnMEPHRasQ=; b=ZfcvXzTFGkfCFK3z9dez8lyTGhgj6gz23qAH/MPvW9twfEeLazeZR/rm0TzqV5X0Qw RLLVI8jpT0R/bzVz8ozILE3h5ImiAnJqnJhX45SkU6t6/Mnmp4LIIbkU2ToY6/wD0E6h vZAeLf37xClvrzr7RfF1GkofdnvaOl1eoU/zU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724223498; x=1724828298; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lcwV5E+ok4Ru342pseyjnU3pRtPhY0hqDhnMEPHRasQ=; b=bTeZJQVs+nsqrYYwL6qVjQud6/d1i349/KPfXHOKxgzJFxcozjAAAYr6Bg2is29oNc GKb65OUs2wm9kJdo7Mhm2ApLQqgx6naEvhnZge1e41ZOGvsDgStlfo4YJ15qVtbv5j2u JKGEwiAXACbNijl2JV++pdroStf0MDUtE5VwhR22Kw8fzGc5Df9jzOzx8dsmZDbsyqhL ZqoPhwYIfuM86T3SefgArY/N08vOxP83fcGUYRBvujYjucq7BhnETIV/MwYvcDUoqaV2 PU1H2vFCqJjcU6Q3XDbI4+YMohYhzlkImDbJD9ehjSqzn/ZupJ1OIhE7AaPxC8T5FSGj fBFw== X-Forwarded-Encrypted: i=1; AJvYcCXhlqXbesyMCcEEZg7SQqV+XMTSZeuYSWlWpJkkgpm5U0md9HKh+E3hQeEHwBfy71HxhkBkikBCCI4YBvpAN/PvjvM=@vger.kernel.org X-Gm-Message-State: AOJu0YxLiZnvwTGzzf2IMulCX7/kvgy8UPpIrGpDZALIdhaOz331El3h d8fK7VBTlc9Urdd1QmfsD/tbujjSzReRXsHbYyQ1wiW4nXlcT4E5ODHkT/LD56Y= X-Google-Smtp-Source: AGHT+IGW3lZ+wVRaP439HYZTg2+EKRY2iSpAqSNAreo/hH4Ej36HDf8GGY057zCw2mgnCuU1Pw4OyQ== X-Received: by 2002:a05:6358:531f:b0:1ad:95db:b6f2 with SMTP id e5c5f4694b2df-1b59f97b0e5mr218971355d.17.1724223497985; Tue, 20 Aug 2024 23:58:17 -0700 (PDT) Received: from [172.20.0.208] ([218.188.70.188]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7c6b6365afcsm10384733a12.87.2024.08.20.23.58.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Aug 2024 23:58:17 -0700 (PDT) Message-ID: Date: Wed, 21 Aug 2024 00:58:14 -0600 Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] selftests/ftrace: Fix test to handle both old and new kernels To: Steven Rostedt , LKML , Linux trace kernel Cc: Masami Hiramatsu , Mathieu Desnoyers , Ingo Molnar , Shuah Khan , Shuah Khan , linux-kselftest@vger.kernel.org, Shuah Khan References: <20240515013620.098cb37a@rorschach.local.home> <20240614124322.36ad7652@rorschach.local.home> <20240819152002.3ecc8100@gandalf.local.home> Content-Language: en-US From: Shuah Khan In-Reply-To: <20240819152002.3ecc8100@gandalf.local.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 8/19/24 13:20, Steven Rostedt wrote: > On Fri, 14 Jun 2024 12:43:22 -0400 > Steven Rostedt wrote: > >> Shuah, >> >> Can you take this through your tree? > > Ping. > > -- Steve > >> >> Thanks, >> >> -- Steve >> >> >> On Wed, 15 May 2024 01:36:20 -0400 >> Steven Rostedt wrote: >> >>> From: "Steven Rostedt (Google)" >>> >>> The function "scheduler_tick" was renamed to "sched_tick" and a selftest >>> that used that function for testing function trace filtering used that >>> function as part of the test. >>> >>> But the change causes it to fail when run on older kernels. As tests >>> should not fail on older kernels, add a check to see which name is >>> available before testing. >>> >>> Fixes: 86dd6c04ef9f2 ("sched/balancing: Rename scheduler_tick() => sched_tick()") >>> Signed-off-by: Steven Rostedt (Google) Sorry about the delay. It is now applied to liniux-kselftest next for Linux 6.12-rc1. thanks, -- Shuah