lkml.org 
[lkml]   [2019]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v10 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time
From
Date
On 2019/2/12 21:03, Thomas Gleixner wrote:
> On Tue, 12 Feb 2019, Aubrey Li wrote:
>
> arch/x86/kernel/fpu/xstate.c:1252:6: warning: no previous prototype for ‘avx512_status’ [-Wmissing-prototypes]
> void avx512_status(struct seq_file *m, struct task_struct *task)
> ^~~~~~~~~~~~~
Sorry for this warning, I didn't see it on my side. May I know how to open this knob?

> arch/x86/kernel/fpu/xstate.c: In function ‘avx512_status’:
> arch/x86/kernel/fpu/xstate.c:1254:44: error: ‘struct fpu’ has no member named ‘avx512_timestamp’
> unsigned long timestamp = task->thread.fpu.avx512_timestamp;

I didn't include the first patch, because I saw it's already in tip tree. Did you use tip tree?

> ^
> arch/x86/kernel/fpu/xstate.c: At top level:
> arch/x86/kernel/fpu/xstate.c:1279:6: warning: no previous prototype for ‘arch_proc_pid_status’ [-Wmissing-prototypes]
> void arch_proc_pid_status(struct seq_file *m, struct task_struct *task)
> ^~~~~~~~~~~~~~~~~~~~
Sorry for this, May I know how to replicate it on my side?

Thanks,
-Aubrey

\
 
 \ /
  Last update: 2019-02-12 14:21    [W:0.035 / U:0.508 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site