Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
+ 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
LTTng 2.0: Tracing for power users and developers - part 2
Posted Aug 23, 2012 12:56 UTC (Thu) by compudj (subscriber, #43335)
Performance Events: PEBS fmt1+, generic architected perfmon, Intel PMU driver.
... version: 3
... bit width: 48
... generic registers: 4 <------------------
... value mask: 0000ffffffffffff
... max period: 000000007fffffff
... fixed-purpose events: 3
... event mask: 000000070000000f
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.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds