mbohun
1/9/2016 - 2:41 PM

linux-4.1.15 perf segfault

linux-4.1.15 perf segfault

mbohun@firewolf:~>
mbohun@firewolf:~> cd src/kernel
mbohun@firewolf:~/src/kernel> ls -la linux
lrwxrwxrwx 1 mbohun users 15 Dec 15 21:23 linux -> linux-4.1.15-00
mbohun@firewolf:~/src/kernel> cd linux/tools/perf
mbohun@firewolf:~/src/kernel/linux/tools/perf>
mbohun@firewolf:~/src/kernel/linux/tools/perf> sudo ./perf top
Samples: 17M of event 'cycles', Event count (approx.): 2006128501                         
Overhead  Shared Object                       Symbol                                      
  26.84%  [kernel]                            [k] acpi_idle_do_entry
   8.92%  htop                                [.] 0x0000000000011a96
   2.66%  libc-2.18.so                        [.] _IO_vfscanf
   1.49%  perf                                [.] hpp__sort_overhead
   1.41%  [kernel]                            [k] sched_clock_local
   1.14%  [vdso]                              [.] __vdso_gettimeofday
   1.08%  perf                                [.] rb_next
   1.08%  [kernel]                            [k] acpi_safe_halt
   0.89%  [kernel]                            [k] hrtimer_interrupt
   0.89%  libc-2.18.so                        [.] _IO_fgets
   0.82%  [kernel]                            [k] __rcu_read_unlock
   0.75%  [kernel]                            [k] native_sched_clock
   0.66%  perf                                [.] hists__output_resort
   0.59%  [kernel]                            [k] __run_hrtimer.isra.34
   0.59%  [kernel]                            [k] ktime_get
   0.58%  libc-2.18.so                        [.] vfprintf
   0.56%  [kernel]                            [k] sched_clock_idle_sleep_event
   0.49%  libc-2.18.so                        [.] __strcmp_sse2
   0.48%  perf                                [.] hist_browser__nr_entries
   0.47%  [kernel]                            [k] __acct_update_integrals
   0.46%  [kernel]                            [k] copy_user_generic_string
   0.46%  libc-2.18.so                        [.] __GI_____strtoull_l_internal
   0.45%  [fglrx]                             [k] _ZN15ExecutableUnits18isTimeStampExpired
   0.45%  perf                                [.] rb_insert_color
   0.40%  [kernel]                            [k] tick_do_update_jiffies64
   0.38%  [kernel]                            [k] ktime_get_ts64
   0.36%  [kernel]                            [k] lookup_fast
   0.35%  [kernel]                            [k] link_path_walk
   0.35%  [kernel]                            [k] kmem_cache_alloc
   0.35%  libc-2.18.so                        [.] _int_free
   0.32%  [kernel]                            [k] context_tracking_exit
   0.32%  perf                                [.] hists__calc_col_len
   0.32%  libc-2.18.so                        [.] _IO_default_xsputn
   0.31%  perf                                [.] hpp__sort_overhead_acc
   0.30%  [kernel]                            [k] system_call
   0.30%  [kernel]                            [k] do_last
   0.30%  libglib-2.0.so.0.3800.2             [.] 0x000000000008affa
   0.29%  perf                                [.] sort__dso_cmp
   0.27%  [kernel]                            [k] num_to_str
   0.26%  [kernel]                            [k] seq_put_decimal_ull
   0.26%  libc-2.18.so                        [.] _int_malloc
   0.26%  [fglrx]                             [k] _ZN4Asic27ElapsedTS_PollingInfinitely19C
   0.26%  [kernel]                            [k] get_pid_task
   0.25%  libc-2.18.so                        [.] __GI_____strtoll_l_internal
   0.25%  [kernel]                            [k] _raw_spin_lock
   0.25%  [kernel]                            [k] sched_clock_cpu
   0.24%  [kernel]                            [k] __d_lookup
   0.24%  [kernel]                            [k] menu_select
   0.22%  [kernel]                            [k] read_hpet
   0.22%  libc-2.18.so                        [.] _IO_sputbackc
   0.21%  [kernel]                            [k] pid_revalidate
perf: Segmentation fault
-------- backtrace --------
./perf[0x5145fb]
/lib64/libc.so.6(+0x35550)[0x7f48530e8550]
./perf(thread__put+0x5b)[0x4c8cdb]
./perf(hists__decay_entries+0xa2)[0x4df0f2]
./perf[0x44fdf2]
./perf[0x51157d]
./perf(perf_evlist__tui_browse_hists+0x97)[0x513287]
./perf[0x451580]
/lib64/libpthread.so.0(+0x80db)[0x7f48555160db]
/lib64/libc.so.6(clone+0x6d)[0x7f4853199e3d]
[0x0]
You have new mail in /var/spool/mail/mbohun
mbohun@firewolf:~/src/kernel/linux/tools/perf> uname -a
Linux firewolf.site 4.1.15-00 #1 SMP PREEMPT Tue Dec 15 21:39:31 AEDT 2015 x86_64 x86_64 x86_64 GNU/Linux
mbohun@firewolf:~/src/kernel/linux/tools/perf> uptime
 01:39am  up 2 days 10:22,  10 users,  load average: 0.45, 0.57, 0.33
mbohun@firewolf:~/src/kernel/linux/tools/perf>