Re: [PATCH] tools/perf/tests: Fix compilation error with strncpy in tests/tool_pmu

2024-10-16 Thread Ian Rogers
On Wed, Oct 16, 2024 at 11:23 AM Athira Rajeev wrote: > > > > > On 16 Oct 2024, at 8:36 PM, Ian Rogers wrote: > > > > On Wed, Oct 16, 2024 at 5:30 AM Athira Rajeev > > wrote: > >> > >> > >> > >>> On 14 Oct 2024, at 10:56 PM, Namhyung Kim wrote: > >>> > >>> Hello Athira, > >>> > >>> On Sun, Oct

Re: [PATCH] tools/perf/tests: Fix compilation error with strncpy in tests/tool_pmu

2024-10-16 Thread Athira Rajeev
> On 16 Oct 2024, at 8:36 PM, Ian Rogers wrote: > > On Wed, Oct 16, 2024 at 5:30 AM Athira Rajeev > wrote: >> >> >> >>> On 14 Oct 2024, at 10:56 PM, Namhyung Kim wrote: >>> >>> Hello Athira, >>> >>> On Sun, Oct 13, 2024 at 11:07:42PM +0530, Athira Rajeev wrote: perf fails to compil

Re: [PATCH] tools/perf/tests: Fix compilation error with strncpy in tests/tool_pmu

2024-10-16 Thread Ian Rogers
On Wed, Oct 16, 2024 at 5:30 AM Athira Rajeev wrote: > > > > > On 14 Oct 2024, at 10:56 PM, Namhyung Kim wrote: > > > > Hello Athira, > > > > On Sun, Oct 13, 2024 at 11:07:42PM +0530, Athira Rajeev wrote: > >> perf fails to compile on systems with GCC version11 > >> as below: > >> > >> In file in

Re: [PATCH] tools/perf/tests: Fix compilation error with strncpy in tests/tool_pmu

2024-10-16 Thread Athira Rajeev
> On 14 Oct 2024, at 10:56 PM, Namhyung Kim wrote: > > Hello Athira, > > On Sun, Oct 13, 2024 at 11:07:42PM +0530, Athira Rajeev wrote: >> perf fails to compile on systems with GCC version11 >> as below: >> >> In file included from /usr/include/string.h:519, >> from >> /home

Re: [PATCH] tools/perf/tests: Fix compilation error with strncpy in tests/tool_pmu

2024-10-14 Thread Namhyung Kim
On Sun, 13 Oct 2024 23:07:42 +0530, Athira Rajeev wrote: > perf fails to compile on systems with GCC version11 > as below: > > In file included from /usr/include/string.h:519, > from > /home/athir/perf-tools-next/tools/include/linux/bitmap.h:5, > from /home/athi

Re: [PATCH] tools/perf/tests: Fix compilation error with strncpy in tests/tool_pmu

2024-10-14 Thread Namhyung Kim
On Sun, Oct 13, 2024 at 11:07:42PM +0530, Athira Rajeev wrote: > perf fails to compile on systems with GCC version11 > as below: I have one more build failure on 32 bit systems. I'll carry this as well. Thanks, Namhyung ---8<--- >From 2e2c7ca3691d223d94ea383a6b688e35579d14d5 Mon Sep 17 00:00:00

Re: [PATCH] tools/perf/tests: Fix compilation error with strncpy in tests/tool_pmu

2024-10-14 Thread Namhyung Kim
Hello Athira, On Sun, Oct 13, 2024 at 11:07:42PM +0530, Athira Rajeev wrote: > perf fails to compile on systems with GCC version11 > as below: > > In file included from /usr/include/string.h:519, > from > /home/athir/perf-tools-next/tools/include/linux/bitmap.h:5, >

[PATCH] tools/perf/tests: Fix compilation error with strncpy in tests/tool_pmu

2024-10-13 Thread Athira Rajeev
perf fails to compile on systems with GCC version11 as below: In file included from /usr/include/string.h:519, from /home/athir/perf-tools-next/tools/include/linux/bitmap.h:5, from /home/athir/perf-tools-next/tools/perf/util/pmu.h:5, from /home/a