LTTng 2.0: Tracing for power users and developers - part 2
LTTng 2.0: Tracing for power users and developers - part 2
Posted May 29, 2012 20:23 UTC (Tue) by robert.berger (subscriber, #69236)Parent article: LTTng 2.0: Tracing for power users and developers - part 2
+ sudo lttng add-context -k -t perf:LLC-load-misses -t perf:LLC-store-misses -t perf:LLC-prefetch-misses
PERROR: add context ioctl: Invalid argument [in kernel_add_channel_context() at kernel.c:45]
Error: perf:LLC-prefetch-misses: Add kernel context failed
kernel context perf:LLC-store-misses added to all channels
kernel context perf:LLC-load-misses added to all channels
Warning: Some command(s) went wrong
Posted Aug 23, 2012 12:56 UTC (Thu)
by compudj (subscriber, #43335)
[Link]
Performance Events: PEBS fmt1+, generic architected perfmon, Intel PMU driver.
In this case, my processor supports 4 concurrent performance counters. (for reference, cpuinfo: model name : Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz). So try removing one of the perf counters and it should be fine.
LTTng 2.0: Tracing for power users and developers - part 2
... version: 3
... bit width: 48
... generic registers: 4 <------------------
... value mask: 0000ffffffffffff
... max period: 000000007fffffff
... fixed-purpose events: 3
... event mask: 000000070000000f
