Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3524212pxb; Mon, 24 Jan 2022 11:22:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSJv87N9b4DD0tWl6HsTeI34G7Qe+pUFJxe0iwbsqZBSnSf47N3dYIb2VzcG7V/U497eDK X-Received: by 2002:a05:6a00:238e:b0:4c6:2f07:b1b1 with SMTP id f14-20020a056a00238e00b004c62f07b1b1mr15222073pfc.53.1643052152945; Mon, 24 Jan 2022 11:22:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643052152; cv=none; d=google.com; s=arc-20160816; b=DBbyccTstzZ+pqS6wSstjYgD/nbnvkwlllboLlWdam8lhAJN+jtIlIl18TxMnZy2iJ gB2qmv9nazyHjAHiKGkKYDOxxI2CtJq9f2Ucaoln51PfRQo+1CUi8sQTMeEUO0nfBjo1 7KuSiKFvK+Qp59K/yC3QSi9QhCNfn8R8MPj/03lWLMwcZ9xagtH4MLST0UponuihNW7M jVvFxf4QuliRgnKXHO5CZ/p4IFRoJqTMCWTyX/wiFmelms/ICO4dEs+usdng/TAbEhYo /5bJMvBwfgVMJkjmE2WYU+AuSy6BoxLz9Sl9ylq8yTZGq0hGEphtUjYlI+PB567C/Z9l JgMw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=si5BH0Vaz3BIdO9lumBG3LRuiuRjAiGpRh30pbRFGYU=; b=bYlEhR4kJxbktDHsPeQTVg2djU2ZEyREBmnuHRyfKLkA7w5KA4oZcXrKjHha1pwDzn 9AD8lIBp5xWFbMPdbH7l1OyyBDkjDT9SVaSZGbYD/35HgZgaMORdXr49L+dMb5ZItPFv 4yE7NrxmAHtQhvAtY/9nV5R/7ekcBgFVRbnL+LFgYxa5WAL5jHBTuSAQ3gz1ZsaV/2gk RClYOlCLoWccPcE27HszKuEp5IsNf8eeKWNbI+8YyBwCYkyxTOz9g9ny+AAdwuzRynRa MLBG8yojN6IJpt6DCeXK56faN1nFKg6WfH3y9BYzIEB1YWXxhZF+O1f1++G9tDqta+d5 QepA== 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 b32si14641910pgm.146.2022.01.24.11.22.18; Mon, 24 Jan 2022 11:22:32 -0800 (PST) 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 S238326AbiAXOYy convert rfc822-to-8bit (ORCPT + 99 others); Mon, 24 Jan 2022 09:24:54 -0500 Received: from us-smtp-delivery-44.mimecast.com ([205.139.111.44]:53974 "EHLO us-smtp-delivery-44.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238192AbiAXOYk (ORCPT ); Mon, 24 Jan 2022 09:24:40 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-624-e_ljM9I4OtK-40tQjdMCZA-1; Mon, 24 Jan 2022 09:24:38 -0500 X-MC-Unique: e_ljM9I4OtK-40tQjdMCZA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CB073100CCC6; Mon, 24 Jan 2022 14:24:37 +0000 (UTC) Received: from x1.com (unknown [10.22.32.253]) by smtp.corp.redhat.com (Postfix) with ESMTP id 53F98798C1; Mon, 24 Jan 2022 14:24:36 +0000 (UTC) From: Daniel Bristot de Oliveira To: Steven Rostedt Cc: Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org Subject: [PATCH 8/8] rtla/trace: Error message fixup Date: Mon, 24 Jan 2022 15:24:11 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=bristot@kernel.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kernel.org Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset=WINDOWS-1252 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use capital and change "tracer %s" to "%s tracer". No functional change. Fixes: b1696371d865 ("rtla: Helper functions for rtla") Cc: Daniel Bristot de Oliveira Cc: Steven Rostedt Cc: linux-kernel@vger.kernel.org Cc: linux-trace-devel@vger.kernel.org Signed-off-by: Daniel Bristot de Oliveira --- tools/tracing/rtla/src/trace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/tracing/rtla/src/trace.c b/tools/tracing/rtla/src/trace.c index 107a0c6387f7..83de259abcc1 100644 --- a/tools/tracing/rtla/src/trace.c +++ b/tools/tracing/rtla/src/trace.c @@ -20,14 +20,14 @@ int enable_tracer_by_name(struct tracefs_instance *inst, const char *tracer_name tracer = TRACEFS_TRACER_CUSTOM; - debug_msg("enabling %s tracer\n", tracer_name); + debug_msg("Enabling %s tracer\n", tracer_name); retval = tracefs_tracer_set(inst, tracer, tracer_name); if (retval < 0) { if (errno == ENODEV) - err_msg("tracer %s not found!\n", tracer_name); + err_msg("Tracer %s not found!\n", tracer_name); - err_msg("failed to enable the tracer %s\n", tracer_name); + err_msg("Failed to enable the %s tracer\n", tracer_name); return -1; } @@ -44,7 +44,7 @@ void disable_tracer(struct tracefs_instance *inst) retval = tracefs_tracer_set(inst, t); if (retval < 0) - err_msg("oops, error disabling tracer\n"); + err_msg("Oops, error disabling tracer\n"); } /* -- 2.34.1