diff options
| author | Michael Giacomelli <giac2000@hotmail.com> | 2008-07-28 22:43:41 +0000 |
|---|---|---|
| committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-07-28 22:43:41 +0000 |
| commit | 52bdcbae856b07d3a793615b98dff338d26302ec (patch) | |
| tree | 9ee975d98287ca851664cbc626e7d006c0a4264b /apps | |
| parent | c323d533c29fcf420df6b63ccf5c37340c7ba6c5 (diff) | |
| download | rockbox-52bdcbae856b07d3a793615b98dff338d26302ec.zip rockbox-52bdcbae856b07d3a793615b98dff338d26302ec.tar.gz rockbox-52bdcbae856b07d3a793615b98dff338d26302ec.tar.bz2 rockbox-52bdcbae856b07d3a793615b98dff338d26302ec.tar.xz | |
Commit FS#9170 by Dave Hooper. Adds support for profiling on ARM, and fixes various issues with compiling profile builds. Also, note that profile_reader.pl syntax has changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18142 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/codecs.c | 4 | ||||
| -rw-r--r-- | apps/codecs/SOURCES | 2 | ||||
| -rw-r--r-- | apps/plugin.c | 4 | ||||
| -rw-r--r-- | apps/plugins/SUBDIRS | 4 |
4 files changed, 10 insertions, 4 deletions
diff --git a/apps/codecs.c b/apps/codecs.c index c31fd84..24490dd 100644 --- a/apps/codecs.c +++ b/apps/codecs.c @@ -138,8 +138,8 @@ struct codec_api ci = { #ifdef RB_PROFILE profile_thread, profstop, - profile_func_enter, - profile_func_exit, + __cyg_profile_func_enter, + __cyg_profile_func_exit, #endif #if defined(HAVE_RECORDING) && !defined(SIMULATOR) diff --git a/apps/codecs/SOURCES b/apps/codecs/SOURCES index 25ca549..3038903 100644 --- a/apps/codecs/SOURCES +++ b/apps/codecs/SOURCES @@ -7,7 +7,9 @@ wav.c a52.c mpc.c wavpack.c +#ifndef RB_PROFILE alac.c +#endif wma.c #if MEMORYSIZE > 1 aac.c diff --git a/apps/plugin.c b/apps/plugin.c index a220e8c..24082de 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -335,8 +335,8 @@ static const struct plugin_api rockbox_api = { #ifdef RB_PROFILE profile_thread, profstop, - profile_func_enter, - profile_func_exit, + __cyg_profile_func_enter, + __cyg_profile_func_exit, #endif #ifdef SIMULATOR diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS index 94614e2..1b3e2af 100644 --- a/apps/plugins/SUBDIRS +++ b/apps/plugins/SUBDIRS @@ -33,14 +33,18 @@ pacbox /* For all the color targets */ #if defined(HAVE_LCD_COLOR) || defined(MROBE_100) || \ (LCD_DEPTH == 2) && !defined(ARCHOS_AV300) +#ifndef RB_PROFILE doom #endif +#endif /* For all the swcodec targets */ #if CONFIG_CODEC == SWCODEC midi /* beatbox */ +#ifndef RB_PROFILE mpegplayer #endif +#endif #endif /* IRIVER_IFP7XX_SERIES */ |