Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3412213rwa; Tue, 23 Aug 2022 04:28:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR7iAMlvQhPsCDZMliqfmjqJGkvjSdgroBgsw0QUqA/jsZZZNrCLY84Us5iV2195mAo3jND8 X-Received: by 2002:a05:6402:369a:b0:43d:75c5:f16c with SMTP id ej26-20020a056402369a00b0043d75c5f16cmr3226623edb.57.1661254104859; Tue, 23 Aug 2022 04:28:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661254104; cv=none; d=google.com; s=arc-20160816; b=0uPFUEXgjn/jzq3krqOyNxNc5Dpb/4Qz1SHGFz/9U0fje45i6JSQ6ouI5V7JpvQJtH NLcTBc/OrHBwVYYOczjL5IkLK2ihSkj4GsJ+LMUt+fFngnceUosuKkr3bbYa9sLax8my 7T9Tk2U79/xkCf4jml/H5SEOMgannbs46S/RqOs9Dawg99s8L7OXguqKMUY818TRxz+u 6IasiaBPRs3AIwIuE7hxO90VlURRD4/WUTJum50L8CbpLaLgRdFZqdcSfASzvKMXKsMZ SG8YOkksgnnC7H+LMD+v+HE2dfkpRj32Mid66WK0LItJgG9BTjJKcXzf1vil7/Goykv4 wVbQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=UzqaDgvShpG6GLu9UOIkpd0pvjF+oUeFew2D7p8j590=; b=gdh+Prw9NCJx57Bc5lUxgbp3oqxH1bDLw/qE9v+pYpMYvT6zU/6pkmPRcdl51NgOxf m2hO1c/3kXVIAhFMoPBOFGHumSedbS7tvpbU5J716X4YM5T6DKac4U4+GemUl4PtpTGh rQajDwdNFmRKWxD9HibIjo+LltdsSDMNYCpdAOD9sTJWaKOi4cKxzDRffoErqI+HA2Ox HN4hS3TZKWQ9CXCX69GuO0Z1Xenz48gDTl+TFctQmzSMnnP86w/CfWG9PxNECymVlb+I S0XqrlQngNf0sShdor4zAFhKPsgCTZ8x0H9TT3zl5LH8mB0uuFRV8DF3P3C3tFVlLQOf e33w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Yhvolnvb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr21-20020a170906d55500b00730a1f063fasi11995045ejc.132.2022.08.23.04.27.57; Tue, 23 Aug 2022 04:28:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Yhvolnvb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348535AbiHWJKa (ORCPT + 99 others); Tue, 23 Aug 2022 05:10:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348009AbiHWJJS (ORCPT ); Tue, 23 Aug 2022 05:09:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83405868A1; Tue, 23 Aug 2022 01:30:38 -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 3A2F761338; Tue, 23 Aug 2022 08:29:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26467C433C1; Tue, 23 Aug 2022 08:29:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661243388; bh=bpP3v+DcvV2AxMnSmPB9/sNRdImi4ZKRLo9adOSSbiM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YhvolnvbPIzW7ZlSt/ikqR6/PqDz1HLG+KSsvvDDo7AyIz0mLtPdiv++4am1+vngq cHZW06OEj1FkyUC+8daB0bcPWC5Uo74Dox1TPYILxhC5dXz94a+nt8pkA0Ulo288EV 8L5Gg+KTJF2FOK+UhKHqf9/TUIftE16bJ+CPpY9c= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ben Hutchings , Daniel Bristot de Oliveira , "Steven Rostedt (Google)" Subject: [PATCH 5.19 234/365] tools/rtla: Fix command symlinks Date: Tue, 23 Aug 2022 10:02:15 +0200 Message-Id: <20220823080128.020429824@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080118.128342613@linuxfoundation.org> References: <20220823080118.128342613@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ben Hutchings commit ff5a55dcdb343e3db9b9fb08795b78544b032773 upstream. "ln -s" stores the next argument directly as the symlink target, so it needs to be a relative path. In this case, just "rtla". Link: https://lore.kernel.org/linux-trace-devel/YtLBXMI6Ui4HLIF1@decadent.org.uk Fixes: 0605bf009f18 ("rtla: Add osnoise tool") Fixes: a828cd18bc4a ("rtla: Add timerlat tool and timelart top mode") Signed-off-by: Ben Hutchings Acked-by: Daniel Bristot de Oliveira Signed-off-by: Steven Rostedt (Google) Signed-off-by: Greg Kroah-Hartman --- tools/tracing/rtla/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tracing/rtla/Makefile b/tools/tracing/rtla/Makefile index 1bea2d16d4c1..b8fe10d941ce 100644 --- a/tools/tracing/rtla/Makefile +++ b/tools/tracing/rtla/Makefile @@ -108,9 +108,9 @@ install: doc_install $(INSTALL) rtla -m 755 $(DESTDIR)$(BINDIR) $(STRIP) $(DESTDIR)$(BINDIR)/rtla @test ! -f $(DESTDIR)$(BINDIR)/osnoise || rm $(DESTDIR)$(BINDIR)/osnoise - ln -s $(DESTDIR)$(BINDIR)/rtla $(DESTDIR)$(BINDIR)/osnoise + ln -s rtla $(DESTDIR)$(BINDIR)/osnoise @test ! -f $(DESTDIR)$(BINDIR)/timerlat || rm $(DESTDIR)$(BINDIR)/timerlat - ln -s $(DESTDIR)$(BINDIR)/rtla $(DESTDIR)$(BINDIR)/timerlat + ln -s rtla $(DESTDIR)$(BINDIR)/timerlat .PHONY: clean tarball clean: doc_clean -- 2.37.2