target: enhance target profiling 72/1572/7
authorHsiangkai Wang <hsiangkai@gmail.com>
Wed, 14 Aug 2013 06:46:58 +0000 (14:46 +0800)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 13 Sep 2013 19:37:14 +0000 (19:37 +0000)
commit6d86ded4dbc7fb44cc659c6c39d6507752133c6b
treeebeec5aea76fe46bb6a7020695a66ebac58efa2c
parent2803fa3822d4aaa4803b103a035fe98782a8adc9
target: enhance target profiling

1. gprof uses 2-bytes as minimum bucket size.
2. As user wants to use gprof --sum to summarize multiple
   profiling data files, the range MUST be the same.
   Add new arguments to specify profiling range.

Change-Id: Ie7e6afa6a4d82250e2d194a0eed2b428c1479ea1
Signed-off-by: Hsiangkai Wang <hsiangkai@gmail.com>
Reviewed-on: http://openocd.zylin.com/1572
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/target.c