[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] oprofile help
From: |
Dan Halperin |
Subject: |
[Discuss-gnuradio] oprofile help |
Date: |
Tue, 18 Dec 2007 12:18:13 -0800 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071022) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
By default, oprofile tracks CPU usage of each process/function/whatever.
I'm trying to do some cache analysis now but I can't get it to change
events. My setup command looks like this (trying different events):
sudo opcontrol --setup --no-vmlinux --separate=library
--event=L2_RQSTS:100000
--event=DATA_CACHE_MISSES:100000
--event=L2_RQSTS:7500:0x7:1:1
--event=LLC_MISSES:7500:0x7:1:1
as taken from a bunch of different online sources and man pages.
However, when I run the profile command:
sudo opcontrol --reset && sudo opcontrol --start && ./mycode.py && sudo
opcontrol --stop
I still always get CPU_CLK_UNHALTED events. My CPU type is "Core 2". Any
suggestions? I've tried sticking the setup command after the --reset, to
no effect.
Thanks,
Dan
P.S. George and I were discussing setting up a Wiki page for general
OProfile stuff... it's not exactly straightforward. Would anyone else
like to contribute?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHaCsFy9GYuuMoUJ4RAkD1AJ44Ctl5DKO01BuTpMwYlNDFr/vaEwCfeLVw
Iilao9jEM4bulA06n+Vsnwg=
=5AqV
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Discuss-gnuradio] oprofile help,
Dan Halperin <=