>From current Debian kernel from testing (Linux debianx 3.14-2-686-pae #1 SMP >Debian 3.14.15-2 (2014-08-09) i686 GNU/Linux):
/usr/share/doc/systemtap-doc/examples/io$ stap -v ./iostats.stp Pass 1: parsed user script and 95 library script(s) using 25952virt/15284res/1984shr/13936data kb, in 730usr/40sys/763real ms. Pass 2: analyzed script: 5 probe(s), 6 function(s), 25 embed(s), 4 global(s) using 182592virt/34596res/3112shr/31956data kb, in 2610usr/380sys/3349real ms. Pass 3: translated to C into "/tmp/stapNUrtsG/stap_cf3af4684a917a0b242235955a886ace_19180_src.c" using 182272virt/36776res/5416shr/31956data kb, in 50usr/150sys/201real ms. Makefile:10: *** mixed implicit and normal rules: deprecated syntax In file included from /usr/share/systemtap/runtime/linux/task_finder.c:17:0, from /usr/share/systemtap/runtime/linux/runtime.h:188, from /usr/share/systemtap/runtime/runtime.h:24, from /tmp/stapNUrtsG/stap_cf3af4684a917a0b242235955a886ace_19180_src.c:24: /usr/share/systemtap/runtime/linux/task_finder2.c: In function \u2018__stp_utrace_attach_match_filename\u2019: /usr/share/systemtap/runtime/linux/task_finder2.c:821:11: error: incompatible types when assigning to type \u2018uid_t\u2019 from type \u2018kuid_t\u2019 tsk_euid = task_euid(tsk); ^ /usr/share/systemtap/runtime/linux/task_finder2.c: In function \u2018stap_start_task_finder\u2019: /usr/share/systemtap/runtime/linux/task_finder2.c:1711:12: error: incompatible types when assigning to type \u2018uid_t\u2019 from type \u2018kuid_t\u2019 tsk_euid = task_euid(tsk); ^ In file included from /usr/share/systemtap/runtime/linux/runtime.h:194:0, from /usr/share/systemtap/runtime/runtime.h:24, from /tmp/stapNUrtsG/stap_cf3af4684a917a0b242235955a886ace_19180_src.c:24: /usr/share/systemtap/runtime/sym.c: In function \u2018_stp_snprint_addr\u2019: /usr/share/systemtap/runtime/sym.c:567:4: error: implicit declaration of function \u2018preempt_enable_no_resched\u2019 [-Werror=implicit-function-declaration] preempt_enable_no_resched(); ^ In file included from /usr/src/linux-headers-3.14-2-common/include/linux/sched.h:53:0, from /usr/src/linux-headers-3.14-2-common/include/linux/ptrace.h:5, from /usr/src/linux-headers-3.14-2-common/include/linux/ftrace.h:13, from /usr/src/linux-headers-3.14-2-common/include/linux/kprobes.h:42, from /usr/share/systemtap/runtime/linux/runtime.h:21, from /usr/share/systemtap/runtime/runtime.h:24, from /tmp/stapNUrtsG/stap_cf3af4684a917a0b242235955a886ace_19180_src.c:24: /usr/share/systemtap/runtime/transport/control.c: In function \u2018_stp_ctl_write_cmd\u2019: /usr/src/linux-headers-3.14-2-common/include/linux/cred.h:333:25: error: incompatible types when initializing type \u2018uid_t\u2019 using type \u2018kuid_t\u2019 #define current_euid() (current_cred_xxx(euid)) ^ /usr/share/systemtap/runtime/transport/control.c:41:15: note: in expansion of macro \u2018current_euid\u2019 uid_t euid = current_euid(); ^ In file included from /usr/share/systemtap/runtime/linux/print.c:17:0, from /usr/share/systemtap/runtime/print.c:17, from /usr/share/systemtap/runtime/runtime_context.h:22, from /tmp/stapNUrtsG/stap_cf3af4684a917a0b242235955a886ace_19180_src.c:1033: /usr/share/systemtap/runtime/transport/transport.c: In function \u2018_stp_transport_init\u2019: /usr/share/systemtap/runtime/transport/transport.c:344:11: error: incompatible types when assigning to type \u2018uid_t\u2019 from type \u2018kuid_t\u2019 _stp_uid = current_uid(); ^ /usr/share/systemtap/runtime/transport/transport.c:345:11: error: incompatible types when assigning to type \u2018gid_t\u2019 from type \u2018kgid_t\u2019 _stp_gid = current_gid(); ^ cc1: all warnings being treated as errors /usr/src/linux-headers-3.14-2-common/scripts/Makefile.build:308: recipe for target '/tmp/stapNUrtsG/stap_cf3af4684a917a0b242235955a886ace_19180_src.o' failed make[3]: *** [/tmp/stapNUrtsG/stap_cf3af4684a917a0b242235955a886ace_19180_src.o] Error 1 /usr/src/linux-headers-3.14-2-common/Makefile:1293: recipe for target '_module_/tmp/stapNUrtsG' failed make[2]: *** [_module_/tmp/stapNUrtsG] Error 2 Makefile:133: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 Makefile:8: recipe for target 'all' failed make: *** [all] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compiled C into "stap_cf3af4684a917a0b242235955a886ace_19180.ko" in 32120usr/2600sys/36470real ms. Pass 4: compilation failed. [man error::pass4] Tip: /usr/share/doc/systemtap/README.Debian should help you get started. >From a custom kernel without CONFIG_USER_NS set: /usr/share/doc/systemtap-doc/examples/io$ stap -v ./iotop Input file './iotop' is missing. Pass 1: parsed user script and 95 library script(s) using 25476virt/14788res/1984shr/13460data kb, in 760usr/60sys/1153real ms. Pass 1: parse failed. [man error::pass1] Tip: /usr/share/doc/systemtap/README.Debian should help you get started. [18:07:54]dbrazziel@asusb202:/usr/share/doc/systemtap-doc/examples/io$ stap -v ./iotop.stp Pass 1: parsed user script and 95 library script(s) using 25476virt/14788res/1984shr/13460data kb, in 720usr/20sys/782real ms. Pass 2: analyzed script: 5 probe(s), 7 function(s), 8 embed(s), 3 global(s) using 184968virt/64972res/3056shr/62532data kb, in 9030usr/8730sys/38920real ms. Pass 3: translated to C into "/tmp/stapMQyMU4/stap_a09cc7f0b11108c8ddd980ab09dda50b_12279_src.c" using 184968virt/66876res/4960shr/62532data kb, in 30usr/0sys/34real ms. In file included from /usr/share/systemtap/runtime/linux/task_finder.c:17:0, from /usr/share/systemtap/runtime/linux/runtime.h:188, from /usr/share/systemtap/runtime/runtime.h:24, from /tmp/stapMQyMU4/stap_a09cc7f0b11108c8ddd980ab09dda50b_12279_src.c:24: /usr/share/systemtap/runtime/linux/task_finder2.c: In function ‘__stp_utrace_attach_match_filename’: /usr/share/systemtap/runtime/linux/task_finder2.c:821:11: error: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’ tsk_euid = task_euid(tsk); ^ /usr/share/systemtap/runtime/linux/task_finder2.c: In function ‘stap_start_task_finder’: /usr/share/systemtap/runtime/linux/task_finder2.c:1711:12: error: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’ tsk_euid = task_euid(tsk); ^ In file included from /usr/share/systemtap/runtime/linux/runtime.h:194:0, from /usr/share/systemtap/runtime/runtime.h:24, from /tmp/stapMQyMU4/stap_a09cc7f0b11108c8ddd980ab09dda50b_12279_src.c:24: /usr/share/systemtap/runtime/sym.c: In function ‘_stp_snprint_addr’: /usr/share/systemtap/runtime/sym.c:567:4: error: implicit declaration of function ‘preempt_enable_no_resched’ [-Werror=implicit-function-declaration] preempt_enable_no_resched(); ^ In file included from include/linux/sched.h:53:0, from include/linux/ptrace.h:5, from include/linux/ftrace.h:13, from include/linux/kprobes.h:42, from /usr/share/systemtap/runtime/linux/runtime.h:21, from /usr/share/systemtap/runtime/runtime.h:24, from /tmp/stapMQyMU4/stap_a09cc7f0b11108c8ddd980ab09dda50b_12279_src.c:24: /usr/share/systemtap/runtime/transport/control.c: In function ‘_stp_ctl_write_cmd’: include/linux/cred.h:333:25: error: incompatible types when initializing type ‘uid_t’ using type ‘kuid_t’ #define current_euid() (current_cred_xxx(euid)) ^ /usr/share/systemtap/runtime/transport/control.c:41:15: note: in expansion of macro ‘current_euid’ uid_t euid = current_euid(); ^ In file included from /usr/share/systemtap/runtime/linux/print.c:17:0, from /usr/share/systemtap/runtime/print.c:17, from /usr/share/systemtap/runtime/runtime_context.h:22, from /tmp/stapMQyMU4/stap_a09cc7f0b11108c8ddd980ab09dda50b_12279_src.c:583: /usr/share/systemtap/runtime/transport/transport.c: In function ‘_stp_transport_init’: /usr/share/systemtap/runtime/transport/transport.c:344:11: error: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’ _stp_uid = current_uid(); ^ /usr/share/systemtap/runtime/transport/transport.c:345:11: error: incompatible types when assigning to type ‘gid_t’ from type ‘kgid_t’ _stp_gid = current_gid(); ^ cc1: all warnings being treated as errors scripts/Makefile.build:308: recipe for target '/tmp/stapMQyMU4/stap_a09cc7f0b11108c8ddd980ab09dda50b_12279_src.o' failed make[1]: *** [/tmp/stapMQyMU4/stap_a09cc7f0b11108c8ddd980ab09dda50b_12279_src.o] Error 1 Makefile:1293: recipe for target '_module_/tmp/stapMQyMU4' failed make: *** [_module_/tmp/stapMQyMU4] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compiled C into "stap_a09cc7f0b11108c8ddd980ab09dda50b_12279.ko" in 29120usr/3350sys/37896real ms. Pass 4: compilation failed. [man error::pass4] Tip: /usr/share/doc/systemtap/README.Debian should help you get started. -- Dominique Brazziel <dbrazz...@snet.net> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org