stacktrace on 4.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just noticed the stacktrace option isn't working for me on Linux 4.4.
Not sure when it last worked, or why it stopped (could be my build).

I now get:

# /apps/perf-tools/bin/kprobe -s p:ext4_sync_fs
Tracing kprobe ext4_sync_fs. Ctrl-C to end.
            sync-20732 [000] d... 41828952.309317: ext4_sync_fs:
(ext4_sync_fs+0x0/0x1a0)
            sync-20732 [000] d... 41828952.309325: <stack trace>
            sync-20732 [000] d... 41828952.309344: ext4_sync_fs:
(ext4_sync_fs+0x0/0x1a0)
            sync-20732 [000] d... 41828952.309345: <stack trace>

Instead of (3.13):

# ./perf-tools/bin/kprobe -s 'p:ext4_sync_fs'
Tracing kprobe ext4_sync_fs. Ctrl-C to end.
            sync-5986  [001] d... 43575381.441911: ext4_sync_fs:
(ext4_sync_fs+0x0/0x130)
            sync-5986  [001] d... 43575381.441916: <stack trace>
 => iterate_supers
 => sys_sync
 => tracesys
            sync-5986  [001] d... 43575381.441928: ext4_sync_fs:
(ext4_sync_fs+0x0/0x130)
            sync-5986  [001] d... 43575381.441929: <stack trace>
 => iterate_supers
 => sys_sync
 => tracesys


kprobe is a simple wrapper
(https://github.com/brendangregg/perf-tools). I looked around to see
if option logic had changed, and enabled options/func_stack_trace, but
without success.

I don't think frame pointers are broken, since using "perf record -v
-g -F 99 -a ..." claims "callchain: type FP", and does have stacks.
Thanks,

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



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux