Comment # 1 on bug 1231247 from Avinesh Kumar
$ /usr/share/bcc/tools/btrfsdist 5 2
..
..
In file included from /virtual/main.c:3:
include/linux/fs.h:3661:15: error: invalid input constraint 'YZ<>' in asm
 3661 |         if (unlikely(get_user(c, path)))
      |                      ^
arch/powerpc/include/asm/uaccess.h:322:5: note: expanded from macro 'get_user'
  322 |                   __get_user(x, _gu_addr) :                            
\
      |                   ^
arch/powerpc/include/asm/uaccess.h:310:2: note: expanded from macro
'__get_user'
  310 |         __get_user_size_allowed(__gu_val, __gu_addr, __gu_size,
__gu_err);      \
      |         ^
arch/powerpc/include/asm/uaccess.h:226:3: note: expanded from macro
'__get_user_size_allowed'
  226 |                 __get_user_size_goto(x, ptr, size, __gus_failed);      
\
      |                 ^
arch/powerpc/include/asm/uaccess.h:217:10: note: expanded from macro
'__get_user_size_goto'
  217 |         case 8: __get_user_asm2_goto(x, (u64 __user *)ptr, label); 
break;      \
      |                 ^
arch/powerpc/include/asm/uaccess.h:193:5: note: expanded from macro
'__get_user_asm2_goto'
  193 |                 : DS_FORM_CONSTRAINT (*addr)                    \
      |                   ^
arch/powerpc/include/asm/uaccess.h:98:28: note: expanded from macro
'DS_FORM_CONSTRAINT'
   98 | #define DS_FORM_CONSTRAINT "YZ<>"
      |                            ^
1 error generated.
Traceback (most recent call last):
  File "/usr/share/bcc/tools/btrfsdist", line 204, in <module>
    b = BPF(text=bpf_text)
        ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/bcc/__init__.py", line 479, in
__init__
    raise Exception("Failed to compile BPF module %s" % (src_file or "<text>"))
Exception: Failed to compile BPF module <text>


You are receiving this mail because: