最近在弄 ARM11 的 Oprofile, 結果發現執行 opcontrol 的動作之後, 沒有 log 的動作.
這時請改用 timer interrupt
在 load oprofile modules 加上 timer=1
若是 static link 時, 就要在 boot_cmd 加上 oprofile.timer=1
似乎目前的 kernel oprofile 不支援 ARM11MPCore.
http://oprofile.sourceforge.net/doc/detailed-parameters.html#timer
On this day..
- Gentoo Synce - 2005





4 responses so far ↓
李佳 // 十二月 16, 2009 at 6:44 下午
Mozilla Firefox 3.0 on
Windows XP
Using
你好,很高興能在你的博客上面看到關于arm11上oprofile的內容,想請教您:如何把oprofile移植(安裝)在arm11上?希望能把步驟或者資料通過郵件告訴我。非常感謝!
[回應]
richliu reply on 十二月 16th, 2009:
我偷懶用 ARM debain ….
沒有自己編…
[回應]
laloka // 三月 10, 2010 at 11:11 上午
Mozilla Firefox 3.0.8 on
Ubuntu Linux
Using
你好 我有兩個問題想要請教你
1 要再那一個時候加上timer=1
2 我target端的log 會存在/data/oprofile/samples/oprofile.log 但是他的格式不像是正式的紀錄檔 如果我跟我的device是透過serial port相連的 那我有辦法取得正常的紀錄格式媽
謝謝
[回應]
richliu reply on 三月 11th, 2010:
1. Kernel boot 選項加 timer=1, load module 也可以加, 可以查一下手冊
2. 你應該是要產生分析檔, 用 opreport 就可以產生.
如果要 raw data, 我沒有這方面的經驗.
[回應]
Leave a Comment