From bbf84ca1a4f617140b07ef85560e59bb05d97510 Mon Sep 17 00:00:00 2001
From: Luca Barbato <lu_zero@gentoo.org>
Date: Tue, 13 Jun 2006 01:20:39 +0000
Subject: [PATCH] oprofile reference for Linux/PPC

Originally committed as revision 5470 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 doc/ffmpeg_powerpc_performance_evaluation_howto.txt | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/doc/ffmpeg_powerpc_performance_evaluation_howto.txt b/doc/ffmpeg_powerpc_performance_evaluation_howto.txt
index ebcfe4a7d08..bab41f20ea3 100644
--- a/doc/ffmpeg_powerpc_performance_evaluation_howto.txt
+++ b/doc/ffmpeg_powerpc_performance_evaluation_howto.txt
@@ -156,8 +156,13 @@ documented by Apple, it's not my subject.
 
 V) Enabling the PMC on Linux
 
-I don't know how to do it, sorry :-) Any idea very much welcome.
+On linux you may use oprofile from http://oprofile.sf.net, depending on the
+version and the cpu you may need to apply a patch[1] to access a set of the
+possibile counters from the userspace application. You can always define them
+using the kernel interface /dev/oprofile/* .
+
+[1] http://dev.gentoo.org/~lu_zero/development/oprofile-g4-20060423.patch
 
 --
-Romain Dolbeau
-<romain@dolbeau.org>
+Romain Dolbeau <romain@dolbeau.org>
+Luca Barbato <lu_zero@gentoo.org>
-- 
GitLab