aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2011-12-14 09:56:58 -0800
committerBen Cheng <bccheng@google.com>2011-12-14 09:56:58 -0800
commit444f6f98041242e2f8ddad3fedff6c59a5da9873 (patch)
treee1c2e3ce1418ca7ebbe9bddf22f356b8ab4717fa
parent07c74c1f62f3250d4b0cf69d4d6bbba5598edcb6 (diff)
downloadoprofile-444f6f98041242e2f8ddad3fedff6c59a5da9873.tar.gz
Allow callgraph collection in timer mode.
Change-Id: I48700c0c655f7c29ea3eb2ee049aa547a3d327c3
-rwxr-xr-xoprofile_android4
1 files changed, 0 insertions, 4 deletions
diff --git a/oprofile_android b/oprofile_android
index 8527499..7716eac 100755
--- a/oprofile_android
+++ b/oprofile_android
@@ -230,10 +230,6 @@ class Tool:
print '* --timer and --event cannot be used together.'
return 2
- if timer and callgraph is not None:
- print '* --callgraph cannot be used with --timer.'
- return 2
-
opcontrol_args = events
if timer:
opcontrol_args.append('--timer')