From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) (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 3459A38757B for ; Fri, 10 Jul 2026 05:36:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783661800; cv=none; b=BR/a+VIt3L7rFoL6zcSAwwLjk1dZABczG7HQAZeR+kb3RG/u8r4Aevt6SPkMbWi1+SLk1Pe4N0+cLtuuU1e1eDIbfhWtSuGp5eeL+Rvv9dguseztVpZ2+WxJuqtr1YgZcaqC6jqtnk/3DT1T/CqU+vvcXTTkqEo/URm+B7K2u8U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783661800; c=relaxed/simple; bh=qe7hglhv/2Sg39+E4X3S+6XweKaVcs4fTn8qzFiPS1Q=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=cEumIq8cATIHU46BZaWNH/vRa7qKVux/h1n30PODzYvgNtCETqIP2v5fFohLxus3QueQoaVnNxj3wDImWcsRPQITBxtMo1pmOdpE1NEW3/nmvkz9LNeNjk25cbLABLzQkCVarHW9dlV1QR1UNq1qrqv2I4z8hBg53LpuqHSotto= 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=AkzZF0cC; arc=none smtp.client-ip=209.85.215.201 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="AkzZF0cC" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-c88ad1558f4so1171141a12.2 for ; Thu, 09 Jul 2026 22:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1783661798; x=1784266598; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=CURnWaQYGdICkcdpVlyqAJACKS69cdYL48ecpQO/Aug=; b=AkzZF0cCRJkfdKNnv4S+egBrEsmDd//Abeso2uF//zxXn85r4mXA9rFImzdvKXrzaG ewE6Av5dmU4+YnQTW7NSnCpm4tpbFjVc8baQA9riakH8npUuTeP7o5D7X1JLHFK+2Tvr qo21dPBkz2LhYNj8Ry1HLJMM4awQKBIIPE+fbm5lTg0pfwgKNtSHwUzHUxw7x5gcI7+I Ky4pwasgc3hcxDEkzQE13KZb+C3OUqj34imfEnoor00+qczDe2YGKIEKE8cy7SiDiPbz W4AE6z7H3zeXooxY4bNRRGfZTXQa5oNi9T9xapGpTiTdhhRCFQcrUgDfbD8eL73zUI3a nbrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783661799; x=1784266599; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=CURnWaQYGdICkcdpVlyqAJACKS69cdYL48ecpQO/Aug=; b=pnsCys/6ucJ6ixvxBH9pv53fO8c/b0iB+qrNO2TxQVwS6ZZckxcP2/a0xxU4AeLN16 E2LlURDv3pn/bsdo388uoQbKuKT4PBLQkzNo/aLNwlR5zGeZ9u3YnImV3FdcAH/zg20V UBRwgqb/v3k1ymj+oii727m70KrUtS6bAVARE5d0mclRt3Fs3iQ8R5bexF91GaxgwzgO VexMKKLd4hKnyL62Z9tWAfbLzAay1MvUBQ2zXkOhWg7JIdUjrPPLmrMJD8mc7pDPq2jY pE/Uc/loTg3ljb0Hc8K0bnEZBzBc/YiQE/PzKkLmr0UaMqtwZNpCiiMwZxM+1UufIV9O CvMw== X-Forwarded-Encrypted: i=1; AHgh+RoiDon2lzzcCIigzCec3IEoB3S1rMm+CnifuRzuYvDLGlrtH5Bg4GwJYnQt19h2+0P2c51AwXqS7CoD+sg=@vger.kernel.org X-Gm-Message-State: AOJu0Yz04a/YknennDSie2xi9fqusmLyWWyldD2vCa5CVfd4OYZ3Mv3w A77zHd/NIlgZ26/9GUeGLRejcKByt1QOXpuDR+HumlvBfbL5ZWy4zKqbufSLpAkldSBV+Tq0sv1 L0iPwMIpN8g== X-Received: from dlbcj42.prod.google.com ([2002:a05:7022:69aa:b0:13b:7e54:8ab8]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a20:ad98:b0:3c0:9c19:6585 with SMTP id adf61e73a8af0-3c0bcfaa7d8mr12173464637.63.1783661798434; Thu, 09 Jul 2026 22:36:38 -0700 (PDT) Date: Thu, 9 Jul 2026 22:36:21 -0700 In-Reply-To: <20260710053628.1861645-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260710024952.1668911-1-irogers@google.com> <20260710053628.1861645-1-irogers@google.com> X-Mailer: git-send-email 2.55.0.795.g602f6c329a-goog Message-ID: <20260710053628.1861645-3-irogers@google.com> Subject: [PATCH v5 03/10] perf ui hists: Include limits.h for PATH_MAX definition From: Ian Rogers To: irogers@google.com, acme@kernel.org, jistone@redhat.com, namhyung@kernel.org Cc: adrian.hunter@intel.com, dapeng1.mi@linux.intel.com, james.clark@linaro.org, jolsa@kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, tianyou.li@intel.com Content-Type: text/plain; charset="UTF-8" Looking at switch_data_file(), it uses the POSIX constant PATH_MAX. Omitting the explicit inclusion of limits.h can cause build failures on musl libc systems, which do not implicitly include headers in the same way glibc does. Fix this by explicitly including at the top of tools/perf/ui/browsers/hists.c. Assisted-by: Antigravity:gemini-3.5-flash Signed-off-by: Ian Rogers --- tools/perf/ui/browsers/hists.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c index 319c3d6c0375..9a3844dc3246 100644 --- a/tools/perf/ui/browsers/hists.c +++ b/tools/perf/ui/browsers/hists.c @@ -2,6 +2,7 @@ #include #include #include +#include #include #include #include -- 2.55.0.795.g602f6c329a-goog