Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: client/samples/oprofile.power5+

Issue 4823005: Merge remote branch 'cros/upstream' into tempbranch (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: patch Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/samples/oprofile ('k') | client/samples/parallel » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 print "Testing default event"
2 job.profilers.add('oprofile')
3 job.run_test('sleeptest', seconds=1, tag='default')
4 job.profilers.delete('oprofile')
5
6 print "Testing specified vmlinux"
7 job.profilers.add('oprofile', '/boot/vmlinux-autotest')
8 job.run_test('sleeptest', seconds=1, tag='vmlinux')
9 job.profilers.delete('oprofile')
10
11 print "Testing one event"
12 job.profilers.add('oprofile', None, ['PM_RUN_CYC_GRP153:100000'])
13 job.run_test('sleeptest', seconds=1, tag='one')
14 job.profilers.delete('oprofile')
15
16 print "Testing multiple events"
17 job.profilers.add('oprofile', None, ['PM_RUN_CYC_GRP153:100000', 'PM_INST_CMPL_G RP153:10000'])
18 job.run_test('sleeptest', seconds=1, tag='multi')
19 job.profilers.delete('oprofile')
20
21 print "Testing other args"
22 job.profilers.add('oprofile', None, ['PM_RUN_CYC_GRP153:150000', 'PM_INST_CMPL_G RP153:150000'], '--callgraph=3')
23 job.run_test('sleeptest', seconds=1, tag='other')
24 job.profilers.delete('oprofile')
OLDNEW
« no previous file with comments | « client/samples/oprofile ('k') | client/samples/parallel » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698