Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1722777rdb; Mon, 2 Oct 2023 21:08:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFyQIgwe8V3Pa8Ft0diVbAdwHJBxyb9k4a1UDCqgnNkO3u06WtzNtns3RNiGIpuHuZp7Lyk X-Received: by 2002:a05:6808:2384:b0:3ae:87c8:437e with SMTP id bp4-20020a056808238400b003ae87c8437emr16916446oib.41.1696306105107; Mon, 02 Oct 2023 21:08:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696306105; cv=none; d=google.com; s=arc-20160816; b=0Ez8e7KHuDaGipkCfpAXb5E7P4e5XH+y5NCM2Miz3vtbJHSS+5ePcMIGgHwVt8w7as Vvrppm1hlL+yotZJ0LYGzRj7sbDcgoXdYQ7fJXv+cmBIQ7ohRgXdl9V0QZzgIFImPbhA J+uOW22Niedyxy9QQcoYpJr758056wnkQBBu25chvgN2/kzgxgenXY4/adkdnYFN7YSR FI0iuaNVaEqpbjSpoi1ck85vIP2M4y3IyOFk+Bcce8EdUOEOHMbq7WXq2WqI/h7OsU+T uxdCKPmbEFJR4vdVjpMzBfp41YEJ8EKlDb53QTOFbPe3dzW5Qk4t1PTPWjer081BiXQK ej0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=mgokpBsAt5sSGOXPbBCiY839jRVMW+rP1WZC3OB32O0=; fh=8X2wFCIo8jm7EKDwwH4DN1eAz9RRn2WzgHIk0WQozs0=; b=M+NtMyAM45p/5032+mRXSBLv98ExGWX5VREWTTMuyha32mHUHYhxgYKnIE9BxD7Fuw ttbtnDYQioVbLB5AOPXRy62ssIOwhaXNXPdDJdzzNqd0dMjyhAKUg6v5akdK9kMPCEtf eLqfpCA4O/dJoDdV6TZlVSgf71t33ZglrcgFSH98GZiWQ3a0jiwbG9vlwLZmRstQAMeb 9pJvUGLKSjs4d53XfK5SrGc3QWhUenq23D5OslddqsCORsv0EKXAhOXP8tdXgPCLyymJ t8Y//983vh6R2MLs0+zO4g+i2aq3iB/vj3lKP1NoTkPQuQmAR3WooFnzgCWEQQM2KzIT JKdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id n22-20020a170902969600b001c62cfff795si487776plp.429.2023.10.02.21.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 21:08:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BDFEA80657DD; Mon, 2 Oct 2023 21:08:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230128AbjJCEIV convert rfc822-to-8bit (ORCPT + 99 others); Tue, 3 Oct 2023 00:08:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbjJCEIT (ORCPT ); Tue, 3 Oct 2023 00:08:19 -0400 Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40EBABB; Mon, 2 Oct 2023 21:08:17 -0700 (PDT) Received: by mail-ua1-f52.google.com with SMTP id a1e0cc1a2514c-7ab8696d047so227128241.1; Mon, 02 Oct 2023 21:08:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696306096; x=1696910896; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sVF5dM/rD7LrEJ/cCejTv0aLhKjQq20c8kLgg4F7Lyc=; b=ZEDcwIn3bsATz4z6y65NQvBNdmzvX8LWfrP6NiCuxyDbVfcJsbU6ONntB0MmGi2nmJ YjYxUR5ziiqyDLNSSeX7Yc0H3SLF/CyB7l876Exho8UKHZWCLt9mB3emKHNzrB8PH8KO mfcBiaV5EeS3tYNuc/fa4u9gfjf5RHj/Gm5/lyufhN467MJJr3OVUTtJckTVZYv9Q2Kz P68WW8Lgn+2v8APrDirixNAheVAU0u2Zst5Ap/m1SaqY3WMzAb0h/28UrallAfNE93KB E/iaeF5je8Qc5GDrzoZdZmigapbd2sLuqDkMgA5poXcd95aJqcN7AwsK4TOAGfCVbzS8 3cPQ== X-Gm-Message-State: AOJu0YwswbECQeDRXJ1ZhF4IvN3+jpJX2FwerLpuZqp/Gar/JiJINQUz QyEejs+ii1hSUBSzKncYRHSjy+TBglZeTCCrTvMWeNrF X-Received: by 2002:a1f:de43:0:b0:49a:7a5b:dab2 with SMTP id v64-20020a1fde43000000b0049a7a5bdab2mr10173027vkg.16.1696306096177; Mon, 02 Oct 2023 21:08:16 -0700 (PDT) MIME-Version: 1.0 References: <20230928071605.17624-1-adrian.hunter@intel.com> In-Reply-To: From: Namhyung Kim Date: Mon, 2 Oct 2023 21:08:04 -0700 Message-ID: Subject: Re: [PATCH] perf dlfilter: Fix use of addr_location__exit() in dlfilter__object_code() To: Adrian Hunter Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Ian Rogers , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 02 Oct 2023 21:08:23 -0700 (PDT) On Fri, Sep 29, 2023 at 11:40 PM Namhyung Kim wrote: > > Hi Adrian, > > On Thu, Sep 28, 2023 at 12:16 AM Adrian Hunter wrote: > > > > Stop calling addr_location__exit() when addr_location__init() was not > > called. > > > > Fixes: 0dd5041c9a0e ("perf addr_location: Add init/exit/copy functions") > > Cc: stable@vger.kernel.org > > Signed-off-by: Adrian Hunter > > Acked-by: Namhyung Kim Applied this and the test code to perf-tools, thanks!