> /usr/lib/perl5/core_perl/CORE/hv_func.h:398:5: error: switch missing
> default case [-Werror=switch-default]
>      switch(bytes_in_carry) { /* how many bytes in carry */
>      ^
> cc1: all warnings being treated as errors
> make: *** [util/scripting-engines/trace-event-perl.o] Errore 1
I solved this one by applying this:
https://lkml.org/lkml/2013/7/23/60

Wow! Unwinding is noticeably faster than libunwind! The trace is almost
perfect. I think I found only one unresolved symbol (it's always the
same one, maybe I screwed up the compilation):

     0.01%       ls  [kernel.kallsyms]  [k] do_raw_read_unlock
                 |
                 --- do_raw_read_unlock
                     _raw_read_unlock
                     0xffffffffa0154479 <--- HERE
                     jbd2__journal_start
                     __ext4_journal_start_sb
                     ext4_dirty_inode
                     __mark_inode_dirty
                     update_time
                     touch_atime
                     sys_readlinkat
                     sys_readlink
                     system_call
                     __GI___readlink
                     get_link_name
                     gobble_file
                     print_dir
                     main
                     __libc_start_main
                     _start

Is this going into mainline soon?

Mauro

--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to