Skip to content

Instantly share code, notes, and snippets.

@shosti
Created September 29, 2017 01:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shosti/4ed1132ca201dcdb47a8ea7074b50265 to your computer and use it in GitHub Desktop.
Save shosti/4ed1132ca201dcdb47a8ea7074b50265 to your computer and use it in GitHub Desktop.
$ sudo biolatency
In file included from /virtual/main.c:3:
In file included from include/linux/blkdev.h:4:
In file included from include/linux/sched.h:19:
In file included from include/linux/timex.h:56:
In file included from include/uapi/linux/timex.h:56:
In file included from include/linux/time.h:5:
In file included from include/linux/seqlock.h:35:
In file included from include/linux/spinlock.h:50:
In file included from include/linux/preempt.h:59:
In file included from ./arch/x86/include/asm/preempt.h:6:
In file included from include/linux/thread_info.h:58:
In file included from ./arch/x86/include/asm/thread_info.h:52:
In file included from ./arch/x86/include/asm/cpufeature.h:4:
./arch/x86/include/asm/processor.h:492:30: warning: taking address of packed member 'sp0' of class or structure 'x86_hw_tss' may result in an unaligned pointer value
[-Waddress-of-packed-member]
return this_cpu_read_stable(cpu_tss.x86_tss.sp0);
^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:391:59: note: expanded from macro 'this_cpu_read_stable'
#define this_cpu_read_stable(var) percpu_stable_op("mov", var)
^~~
./arch/x86/include/asm/percpu.h:218:16: note: expanded from macro 'percpu_stable_op'
: "p" (&(var))); \
^~~
In file included from /virtual/main.c:3:
In file included from include/linux/blkdev.h:4:
In file included from include/linux/sched.h:19:
In file included from include/linux/timex.h:56:
In file included from include/uapi/linux/timex.h:56:
In file included from include/linux/time.h:5:
In file included from include/linux/seqlock.h:35:
In file included from include/linux/spinlock.h:50:
In file included from include/linux/preempt.h:59:
In file included from ./arch/x86/include/asm/preempt.h:6:
In file included from include/linux/thread_info.h:58:
In file included from ./arch/x86/include/asm/thread_info.h:52:
In file included from ./arch/x86/include/asm/cpufeature.h:4:
./arch/x86/include/asm/processor.h:492:30: warning: taking address of packed member 'sp0' of class or structure 'x86_hw_tss' may result in an unaligned pointer value
[-Waddress-of-packed-member]
return this_cpu_read_stable(cpu_tss.x86_tss.sp0);
^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:391:59: note: expanded from macro 'this_cpu_read_stable'
#define this_cpu_read_stable(var) percpu_stable_op("mov", var)
^~~
./arch/x86/include/asm/percpu.h:223:16: note: expanded from macro 'percpu_stable_op'
: "p" (&(var))); \
^~~
In file included from /virtual/main.c:3:
In file included from include/linux/blkdev.h:4:
In file included from include/linux/sched.h:19:
In file included from include/linux/timex.h:56:
In file included from include/uapi/linux/timex.h:56:
In file included from include/linux/time.h:5:
In file included from include/linux/seqlock.h:35:
In file included from include/linux/spinlock.h:50:
In file included from include/linux/preempt.h:59:
In file included from ./arch/x86/include/asm/preempt.h:6:
In file included from include/linux/thread_info.h:58:
In file included from ./arch/x86/include/asm/thread_info.h:52:
In file included from ./arch/x86/include/asm/cpufeature.h:4:
./arch/x86/include/asm/processor.h:492:30: warning: taking address of packed member 'sp0' of class or structure 'x86_hw_tss' may result in an unaligned pointer value
[-Waddress-of-packed-member]
return this_cpu_read_stable(cpu_tss.x86_tss.sp0);
^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:391:59: note: expanded from macro 'this_cpu_read_stable'
#define this_cpu_read_stable(var) percpu_stable_op("mov", var)
^~~
./arch/x86/include/asm/percpu.h:228:16: note: expanded from macro 'percpu_stable_op'
: "p" (&(var))); \
^~~
In file included from /virtual/main.c:3:
In file included from include/linux/blkdev.h:4:
In file included from include/linux/sched.h:19:
In file included from include/linux/timex.h:56:
In file included from include/uapi/linux/timex.h:56:
In file included from include/linux/time.h:5:
In file included from include/linux/seqlock.h:35:
In file included from include/linux/spinlock.h:50:
In file included from include/linux/preempt.h:59:
In file included from ./arch/x86/include/asm/preempt.h:6:
In file included from include/linux/thread_info.h:58:
In file included from ./arch/x86/include/asm/thread_info.h:52:
In file included from ./arch/x86/include/asm/cpufeature.h:4:
./arch/x86/include/asm/processor.h:492:30: warning: taking address of packed member 'sp0' of class or structure 'x86_hw_tss' may result in an unaligned pointer value
[-Waddress-of-packed-member]
return this_cpu_read_stable(cpu_tss.x86_tss.sp0);
^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:391:59: note: expanded from macro 'this_cpu_read_stable'
#define this_cpu_read_stable(var) percpu_stable_op("mov", var)
^~~
./arch/x86/include/asm/percpu.h:233:16: note: expanded from macro 'percpu_stable_op'
: "p" (&(var))); \
^~~
In file included from /virtual/main.c:3:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/genhd.h:64:
In file included from include/linux/device.h:24:
In file included from include/linux/pinctrl/devinfo.h:21:
In file included from include/linux/pinctrl/consumer.h:17:
In file included from include/linux/seq_file.h:10:
include/linux/fs.h:2698:9: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]
if (id < 0 || id >= READING_MAX_ID)
~~ ^ ~
5 warnings generated.
Segmentation fault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment