From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f74.google.com (mail-ej1-f74.google.com [209.85.218.74]) (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 E89991531C2 for ; Mon, 13 Jan 2025 13:34:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736775271; cv=none; b=mW0QnGZINsG4CHdliYJt848wxCRLKecYNZHqcIGQD0xUxqi0BSguj4BXPXlkW4NBA8+tG6J6fLf7LISKfhAwTYGfIs9JOJ33zmhu9KNjyx4p7OggkAfpx3vqv63AbisWAcys252fITPZvSQ2ZRV20mgsxUjm/qemL9zEPgP/DIw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736775271; c=relaxed/simple; bh=mhfKsdxy4ny09CpivFZEqqoBkgWKbVRCHfE7fxK5B7Q=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=Y4fKmUZDgbGVMDSzj9CCenv0PTmh2Nu/wpWjVHQ8MKzbqLzBFYcVqFNTjiTg51LRkMh4CNYMoo0uMfzr2QFO1pLET9ZMC8tKKCyvu4tjvyXSgylRDYl0Wxmxs6eC62ltlh1YiEb+PxEt6beUvi+mPWaZ8XR/R9Z7jY/6t30KXfo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--dvyukov.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=mskKPRml; arc=none smtp.client-ip=209.85.218.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--dvyukov.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="mskKPRml" Received: by mail-ej1-f74.google.com with SMTP id a640c23a62f3a-aa67f18cb95so504673466b.1 for ; Mon, 13 Jan 2025 05:34:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1736775268; x=1737380068; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=2K3+InxgWdcedIUmFC5ZBMbgnGaWRgOdwpB/Jt6OUHI=; b=mskKPRmlGzGAzPuYDlI1PLo53Ea7Gp8PjpAiAT7SU0Eotkay22LCBl/IhmsPqAc3bd axQoHHDeYAP9fXgKHNEFJEeFqwnRGTB+Cl1GCn9093lyFjfyeZNuH6qMS5lV/Oe0hy7M TLU8HMv6YXo6mC2qHrGR6ZLNQsTCPSozRD9U81fxL9CXs0VTtA0ihMOMJpbepLf0oOId feCD5GAFoLVKuaaHAwMY70j9EBXhKqYpVPeT3YgIa2mEjTrr7MgoNrkSSeYdBAa/o87l GheivL5Hx4EcMFhFle90k7L5KvnnXuK8E6j6EQQKwdN82KRU2h4ksTchauy6em3Rb5dL hWCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736775268; x=1737380068; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2K3+InxgWdcedIUmFC5ZBMbgnGaWRgOdwpB/Jt6OUHI=; b=HE2n9Hg2CXsQbrbiNFTeNx5FshV/EKfPIKA0FU76KaA+yCNiOnpafJg/8xadewawPE MKHR2BUwna0Oe0AlvP2JxSdUUKVjBbaVkoNgxoXBZj/8cuaFQVeiu34K4Ky96SfisdoR 2sMSWBmYbThZUgDtK1vkJmItG5IRQW/eL0o4SGXaTR2gpczde3ykzHpVKD0kwP4M0uNl pHHDimAW/AM+gXzP1Dl1zQh/PwCk8LsJ0Afb6BnOSEI4ZrTedYnBvaotmMj4qm6c1FB2 Bh2q3nz7a+z21GoVe+Azy0DZWi9xzYz42v9eg6ADo4rlqKVDIiAbyVGxWA99yQQsHtgR BDWA== X-Forwarded-Encrypted: i=1; AJvYcCWrOD9/yJ4OR6S53nuWVskKT7oPEJcnCku+j0LrusaxXCHYs0DLPA5RtaVo5AannfDT8PbzDIdZV6+71A4=@vger.kernel.org X-Gm-Message-State: AOJu0YxK00s2tvcvJifH3VofQxB31iZxyNh9Ew9gun61lp4rt51v49eD bRqdbx+SsrHk85kELUlBEKRqf4A05mOnm+DpL2LtBkqz4RmkZRro7fLu9qn/UDhuYsLfAgYu06/ mAyPRWA== X-Google-Smtp-Source: AGHT+IFLl3aj3KyIPB/I7grW9IgFpMaf/UuPgW7QssbZLcQc0R06FWJrx2b3EGuqN+/97/axyKG4G236zsgQ X-Received: from edsr9.prod.google.com ([2002:aa7:da09:0:b0:5d9:d4a:7e1c]) (user=dvyukov job=prod-delivery.src-stubby-dispatcher) by 2002:a17:907:7da7:b0:aae:85a9:e2d with SMTP id a640c23a62f3a-ab2ab6bfa39mr1996807266b.45.1736775268330; Mon, 13 Jan 2025 05:34:28 -0800 (PST) Date: Mon, 13 Jan 2025 14:34:13 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.47.1.688.g23fc6f90ad-goog Message-ID: Subject: [PATCH v2 0/2] perf hist: Fix bogus profiles when filters are enabled From: Dmitry Vyukov To: namhyung@kernel.org, irogers@google.com Cc: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Vyukov Content-Type: text/plain; charset="UTF-8" *** BLURB HERE *** Dmitry Vyukov (2): perf hist: Deduplicate cmp/sort/collapse code perf hist: Fix bogus profiles when filters are enabled tools/perf/util/hist.c | 114 +++++++++++++++++++---------------------- tools/perf/util/hist.h | 14 +++-- 2 files changed, 59 insertions(+), 69 deletions(-) base-commit: 5bc55a333a2f7316b58edc7573e8e893f7acb532 -- 2.47.1.688.g23fc6f90ad-goog