From: Keith Packard Date: Mon, 28 Oct 2013 07:24:59 +0000 (-0700) Subject: altos: sample profile address range was too narrow X-Git-Tag: 1.2.9.4~20 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=d3628bd2dd3612065792aef6c7ae5bc967b4f081 altos: sample profile address range was too narrow The range was cranked down at some point to diagnose issues within the task scheduler. Unfortunately, that change got merged, which meant that general profiling lost information outside of the lower 4kB of code. Signed-off-by: Keith Packard --- diff --git a/src/core/ao_sample_profile.c b/src/core/ao_sample_profile.c index e682bd98..d3743d12 100644 --- a/src/core/ao_sample_profile.c +++ b/src/core/ao_sample_profile.c @@ -24,11 +24,11 @@ #endif #ifndef AO_SAMPLE_PROFILE_HIGH_PC -#define AO_SAMPLE_PROFILE_HIGH_PC 0x08003000 +#define AO_SAMPLE_PROFILE_HIGH_PC 0x0800f000 #endif #ifndef AO_SAMPLE_PROFILE_SHIFT -#define AO_SAMPLE_PROFILE_SHIFT 3 +#define AO_SAMPLE_PROFILE_SHIFT 6 #endif #define AO_SAMPLE_PROFILE_RANGE (AO_SAMPLE_PROFILE_HIGH_PC - AO_SAMPLE_PROFILE_LOW_PC)