fix autotest oprofile setup process

1. move "--event" from start function to initialize function, because 
"opcontrol --setup" without events specified sometimes may fail, this may be a bug
of opcontrol or ophelp, I have filed a bug report to oprofile mail list. 
And give it a default value when user don't specify. Also, setup events
in initialize phase has logically meaning.

2. initialize(self, vmlinux = None, events = [], others = None)
Add vmlinux parameter, let user has a chance to specify vmlinux, such
as vmlinux-autotest, which can't be figured out by get_vmlinux function.
Add events list parameter, user can specify a list of events wanted to profiled.
Add others args, let user has chance to specify other args, such as "--callgraph=3".

3. add a sample control file oprofile.power5+

From: Yao Fei Zhu <walkinair@cn.ibm.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@359 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed
tree: d84152a001abff349a59ab696eb1c99d990ceb0d
  1. bin/
  2. deps/
  3. mirror/
  4. profilers/
  5. samples/
  6. tests/
  7. tko/
  8. tools/
  9. ui/
  10. DCO
  11. LICENSE