From patchwork Tue Apr 5 07:19:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 558121 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06D45C43217 for ; Tue, 5 Apr 2022 08:06:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233815AbiDEIIx (ORCPT ); Tue, 5 Apr 2022 04:08:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235677AbiDEIAA (ORCPT ); Tue, 5 Apr 2022 04:00:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C072193F1; Tue, 5 Apr 2022 00:57:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BCD6C61668; Tue, 5 Apr 2022 07:57:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2148C340EE; Tue, 5 Apr 2022 07:57:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649145463; bh=iRMLrCcmHK2o0zFZt5G8QCNBCZd5OLcLajl8zPkZ1nU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K+Q0eFR5CHjpBlThgkVMPqN1HKVYZf6XV3mtgRjnQ3drT4sET1q+YWm7PqqqzxmSF SUIzb+qI3778vIWRfJ8or+lT3uGdMaS1DMMXKynXGd3KZORjToaB4WtVwduu8xF2AW saFFwJRjuWhmyiicykWoKU45k/3k7QJU7i64PO4s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Daniel Bristot de Oliveira , Clark Williams , Juri Lelli , Jonathan Corbet , "Steven Rostedt (Google)" , Sasha Levin Subject: [PATCH 5.17 0413/1126] rtla/osnoise: Fix osnoise hist stop tracing message Date: Tue, 5 Apr 2022 09:19:20 +0200 Message-Id: <20220405070419.748490721@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070407.513532867@linuxfoundation.org> References: <20220405070407.513532867@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Daniel Bristot de Oliveira [ Upstream commit 7d38c35167c58153e8b5bea839616d00e90564b9 ] rtla osnoise hist is printing the following message when hitting stop tracing: printf("rtla timelat hit stop tracing\n"); which is obviosly wrong. s/timerlat/osnoise/ fixing the printf. Link: https://lkml.kernel.org/r/2b8f090556fe37b81d183b74ce271421f131c77b.1646247211.git.bristot@kernel.org Fixes: 829a6c0b5698 ("rtla/osnoise: Add the hist mode") Cc: Daniel Bristot de Oliveira Cc: Clark Williams Cc: Juri Lelli Cc: Jonathan Corbet Signed-off-by: Daniel Bristot de Oliveira Signed-off-by: Steven Rostedt (Google) Signed-off-by: Sasha Levin --- tools/tracing/rtla/src/osnoise_hist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tracing/rtla/src/osnoise_hist.c b/tools/tracing/rtla/src/osnoise_hist.c index 52c053cc1789..e88f5c870141 100644 --- a/tools/tracing/rtla/src/osnoise_hist.c +++ b/tools/tracing/rtla/src/osnoise_hist.c @@ -782,7 +782,7 @@ int osnoise_hist_main(int argc, char *argv[]) return_value = 0; if (!tracefs_trace_is_on(trace->inst)) { - printf("rtla timelat hit stop tracing\n"); + printf("rtla osnoise hit stop tracing\n"); if (params->trace_output) { printf(" Saving trace to %s\n", params->trace_output); save_trace_to_file(record->trace.inst, params->trace_output);