Re: [PATCH] tools/perf: Fix bpf-script-test-prologue test compile issue with clang

2023-01-09 Thread Athira Rajeev
> On 05-Jan-2023, at 6:23 PM, Arnaldo Carvalho de Melo wrote: > > Em Thu, Jan 05, 2023 at 05:34:36PM +0530, Athira Rajeev escreveu: >> While running perf test for bpf, observed that "BPF prologue >> generation" test case fails to compile with clang. Logs below >> from powerpc: >> >> :33:2: er

Re: [PATCH] tools/perf: Fix bpf-script-test-prologue test compile issue with clang

2023-01-05 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 05, 2023 at 05:34:36PM +0530, Athira Rajeev escreveu: > While running perf test for bpf, observed that "BPF prologue > generation" test case fails to compile with clang. Logs below > from powerpc: > > :33:2: error: use of undeclared identifier 'fmode_t' > fmode_t f_mode = (fmod

[PATCH] tools/perf: Fix bpf-script-test-prologue test compile issue with clang

2023-01-05 Thread Athira Rajeev
While running perf test for bpf, observed that "BPF prologue generation" test case fails to compile with clang. Logs below from powerpc: :33:2: error: use of undeclared identifier 'fmode_t' fmode_t f_mode = (fmode_t)_f_mode; ^ :37:6: error: use of undeclared identifier 'f_mode'; di