heap profile script: Make default duration very long.
traced does not support duration larger than 7 days.
Change-Id: Ia2fd828a64e18a313cad42eac7619d19e90513a1
diff --git a/tools/heap_profile b/tools/heap_profile
index 7f01ca0..432e3d0 100755
--- a/tools/heap_profile
+++ b/tools/heap_profile
@@ -103,7 +103,7 @@
parser.add_argument("-i", "--interval", help="Sampling interval. "
"Default 128000 (128kB)", type=int, default=128000)
parser.add_argument("-d", "--duration", help="Duration of profile (ms). "
- "Default 1 minute", type=int, default=60000)
+ "Default 7 days", type=int, default=604800000)
parser.add_argument("-a", "--all", help="Profile the whole system",
action='store_true')
parser.add_argument("--no-start", help="Do not start heapprofd",