LWN.net Logo

LTTng 2.0: Tracing for power users and developers - part 2

LTTng 2.0: Tracing for power users and developers - part 2

Posted Aug 23, 2012 12:56 UTC (Thu) by compudj (subscriber, #43335)
In reply to: LTTng 2.0: Tracing for power users and developers - part 2 by robert.berger
Parent article: LTTng 2.0: Tracing for power users and developers - part 2

You probably cannot activate that many performance counters concurrently on your processor. See the dmesg output. Here is an excerpt of mine for example:

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.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds