* [PATCH v6.19-rc1 1/1] perf auxtrace: Include sys/types.h for pid_t
@ 2025-12-03 14:50 Arnaldo Carvalho de Melo
2025-12-03 17:28 ` Ian Rogers
2025-12-04 19:10 ` Namhyung Kim
0 siblings, 2 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2025-12-03 14:50 UTC (permalink / raw)
To: Namhyung Kim
Cc: Adrian Hunter, Ian Rogers, James Clark, Jiri Olsa,
Linux Kernel Mailing List, linux-perf-users
In 754187ad73b73bcb ("perf build: Remove NO_AUXTRACE build option")
sys/types.h was removed, which broke the build in all Alpine Linux
releases, as musl libc has pid_t defined via sys/types.h, add it back.
Fixes: 754187ad73b73bcb ("perf build: Remove NO_AUXTRACE build option")
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/util/auxtrace.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h
index eee2c11f76668348..6947f3f284c02928 100644
--- a/tools/perf/util/auxtrace.h
+++ b/tools/perf/util/auxtrace.h
@@ -7,6 +7,7 @@
#ifndef __PERF_AUXTRACE_H
#define __PERF_AUXTRACE_H
+#include <sys/types.h>
#include <stdio.h> // FILE
#include <linux/perf_event.h>
#include <linux/types.h>
--
2.52.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v6.19-rc1 1/1] perf auxtrace: Include sys/types.h for pid_t
2025-12-03 14:50 [PATCH v6.19-rc1 1/1] perf auxtrace: Include sys/types.h for pid_t Arnaldo Carvalho de Melo
@ 2025-12-03 17:28 ` Ian Rogers
2025-12-04 19:10 ` Namhyung Kim
1 sibling, 0 replies; 3+ messages in thread
From: Ian Rogers @ 2025-12-03 17:28 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: Namhyung Kim, Adrian Hunter, James Clark, Jiri Olsa,
Linux Kernel Mailing List, linux-perf-users
On Wed, Dec 3, 2025 at 6:50 AM Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
>
> In 754187ad73b73bcb ("perf build: Remove NO_AUXTRACE build option")
> sys/types.h was removed, which broke the build in all Alpine Linux
> releases, as musl libc has pid_t defined via sys/types.h, add it back.
>
> Fixes: 754187ad73b73bcb ("perf build: Remove NO_AUXTRACE build option")
> Cc: Adrian Hunter <adrian.hunter@intel.com>
> Cc: Ian Rogers <irogers@google.com>
> Cc: James Clark <james.clark@linaro.org>
> Cc: Jiri Olsa <jolsa@kernel.org>
> Cc: Namhyung Kim <namhyung@kernel.org>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Thanks,
Ian
> ---
> tools/perf/util/auxtrace.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h
> index eee2c11f76668348..6947f3f284c02928 100644
> --- a/tools/perf/util/auxtrace.h
> +++ b/tools/perf/util/auxtrace.h
> @@ -7,6 +7,7 @@
> #ifndef __PERF_AUXTRACE_H
> #define __PERF_AUXTRACE_H
>
> +#include <sys/types.h>
> #include <stdio.h> // FILE
> #include <linux/perf_event.h>
> #include <linux/types.h>
> --
> 2.52.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v6.19-rc1 1/1] perf auxtrace: Include sys/types.h for pid_t
2025-12-03 14:50 [PATCH v6.19-rc1 1/1] perf auxtrace: Include sys/types.h for pid_t Arnaldo Carvalho de Melo
2025-12-03 17:28 ` Ian Rogers
@ 2025-12-04 19:10 ` Namhyung Kim
1 sibling, 0 replies; 3+ messages in thread
From: Namhyung Kim @ 2025-12-04 19:10 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: Adrian Hunter, Ian Rogers, James Clark, Jiri Olsa,
Linux Kernel Mailing List, linux-perf-users
On Wed, 03 Dec 2025 11:50:03 -0300, Arnaldo Carvalho de Melo wrote:
> In 754187ad73b73bcb ("perf build: Remove NO_AUXTRACE build option")
> sys/types.h was removed, which broke the build in all Alpine Linux
> releases, as musl libc has pid_t defined via sys/types.h, add it back.
>
>
Applied to perf-tools-next, thanks!
Best regards,
Namhyung
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-04 19:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-03 14:50 [PATCH v6.19-rc1 1/1] perf auxtrace: Include sys/types.h for pid_t Arnaldo Carvalho de Melo
2025-12-03 17:28 ` Ian Rogers
2025-12-04 19:10 ` Namhyung Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox