From nobody Thu Apr 2 15:41:45 2026 Received: from mail-dy1-f202.google.com (mail-dy1-f202.google.com [74.125.82.202]) (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 555823246E4 for ; Wed, 11 Feb 2026 05:38:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770788313; cv=none; b=fWEvcVACVU5sjhm+6lvrJUl2xaqG8/j66yTgd+keOj9Sd17VecVM5y71l3rmcyiBTWBgcidEJ8t/RyEELnQRYEtt46bcdzHeRFYaCrx6vuCQJ4GfilrLgGN+iR1YesYK/r6NL+DyOI1lB/DGAov5LGemWa1bwsNdGKpf3b16HrQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770788313; c=relaxed/simple; bh=asmP0qeugLU/V1JRT6RRfUReFv9YHoje1JUYz2LfwqU=; h=Date:Mime-Version:Message-ID:Subject:From:To:Content-Type; b=nvg/IxsnX5CKslAk0XwCtbG1v+mtpm1mqQwhV77OOTW9jihM3cQltkV1Sf5A5q3VqauwKn8uP7J6dk5Swy3hjoocqrnx3o4jdxXEiuMWu53A+MOq0NL9NuzgzxYN44n7KIMZCnzlprUB2wFeIFWUCG4jK36AIGEvALGJ8cynefs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=lu+7Xk3x; arc=none smtp.client-ip=74.125.82.202 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--irogers.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="lu+7Xk3x" Received: by mail-dy1-f202.google.com with SMTP id 5a478bee46e88-2ba67282cabso11574222eec.1 for ; Tue, 10 Feb 2026 21:38:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1770788310; x=1771393110; darn=vger.kernel.org; h=to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=beRb2TTWipjbQS+uGdF7qNhcs02FsUxfsSX1I2AUdlY=; b=lu+7Xk3xmQfUD3Bb9hPhTmXwbv6ZSk5dlkvYBsUlPVdXz9lyY8xuYZZLefZTHz478d OR0aY74fErY+mhmLf4++Un1XvoIHqV4sUaKYwW/x8w7DQRbxJWa0HKI7tOa7VUNmhm/g tWlKFptXna5jwQKYAwQmFsV3ODoewZWBykU7/ViW8LzVJtYW3T8PV7Y6g9aCP+mlI62p uKFBUsGfS+1uKbp91RZiZJwqC3N6630vTbyZLEu4cSN/W/W8i4VLs515cUAf60jTUVu8 Lvs7qOVKxyye5GhUfrNSaW+x2KHWTe7HJRRb7Nt2MKE0Jxdv68WB+trvPEMCERXyNxL3 XMng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770788310; x=1771393110; h=to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=beRb2TTWipjbQS+uGdF7qNhcs02FsUxfsSX1I2AUdlY=; b=whsWJ4cdRrKjaZ5b8VxVDS0hRLdx0k8hRdPq6/QsXTc/X/r7PbfsXyj/DZyeSlD23m sxdS/bUeWF1b74BAeiL3bPgNDQzWT2FMvgSJHb4Y/bsABdK6XWt+p29E47tuzxN96m4c +3/We4BLr8hFLok8rt342PoupVoLqrNB6dAIGEnyS3RPk6zhRgWqCO5ci3JBkhw+13M+ zwt918O8wBLKdXiqGhe6Gjbk7ImJWr4xPPe674IYhDO3U5mI664e/tKo2izo5TgwJN2R G3k+Zd2AzJphIgvC4GymYX0UiYm5mTNCWFGZO83PEBwHtl0CH0a2REyfTbVHmnEnvYBe yiGg== X-Forwarded-Encrypted: i=1; AJvYcCW8g7lf9QVHoLZqa6DRUzbpNj8IqC1Z0SZGysSJuM0JGDLXAPuvmhjwPIkmZ6GSXvuVxpydK9opslHX8Oo=@vger.kernel.org X-Gm-Message-State: AOJu0YzcdQ6AhheTq6RmbuJ9gfOg+595ue9x/A7UO18gImAA55qnQvGc 2GTYbARfLlQCMLBP3ZBZem2FRHf2XxOXhzYMPafPbTOBEtPBMjFr1do+0sW7YMP/EWlO1+Ge7fT qRRpsVPFquA== X-Received: from dycpq7.prod.google.com ([2002:a05:7301:fd07:b0:2ba:66cc:afc1]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7300:a189:b0:2b8:30b8:58cf with SMTP id 5a478bee46e88-2ba9b437263mr614633eec.8.1770788310286; Tue, 10 Feb 2026 21:38:30 -0800 (PST) Date: Tue, 10 Feb 2026 21:38:27 -0800 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.53.0.239.g8d8fc8a987-goog Message-ID: <20260211053827.140534-1-irogers@google.com> Subject: [PATCH v1] perf libunwind: Fix calls to thread__e_machine From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , James Clark , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add the missing e_flags option to fix the build. Fixes: 4e66527f8859 ("perf thread: Add optional e_flags output argument to = thread__e_machine") Signed-off-by: Ian Rogers --- tools/perf/util/unwind-libunwind-local.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/unwind-libunwind-local.c b/tools/perf/util/unw= ind-libunwind-local.c index ecf0c01fe51f..5b39ce21e333 100644 --- a/tools/perf/util/unwind-libunwind-local.c +++ b/tools/perf/util/unwind-libunwind-local.c @@ -584,7 +584,9 @@ static int access_mem(unw_addr_space_t __maybe_unused a= s, } =20 ret =3D perf_reg_value(&start, perf_sample__user_regs(ui->sample), - perf_arch_reg_sp(thread__e_machine(ui->thread, ui->machine))); + perf_arch_reg_sp(thread__e_machine(ui->thread, + ui->machine, + /*e_flags=3D*/NULL))); if (ret) return ret; =20 @@ -733,7 +735,7 @@ static void _unwind__finish_access(struct maps *maps) static int get_entries(struct unwind_info *ui, unwind_entry_cb_t cb, void *arg, int max_stack) { - uint16_t e_machine =3D thread__e_machine(ui->thread, ui->machine); + uint16_t e_machine =3D thread__e_machine(ui->thread, ui->machine, /*e_fla= gs=3D*/NULL); u64 val; unw_word_t ips[max_stack]; unw_addr_space_t addr_space; --=20 2.53.0.239.g8d8fc8a987-goog