altos: sample profile address range was too narrow
authorKeith Packard <keithp@keithp.com>
Mon, 28 Oct 2013 07:24:59 +0000 (00:24 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 28 Oct 2013 07:24:59 +0000 (00:24 -0700)
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 <keithp@keithp.com>
src/core/ao_sample_profile.c

index e682bd98e466a6031899d6e8744950d5a15bc665..d3743d124121abeed7062d1bcf87338d1f7696a5 100644 (file)
 #endif
 
 #ifndef AO_SAMPLE_PROFILE_HIGH_PC
 #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
 #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)
 #endif
 
 #define AO_SAMPLE_PROFILE_RANGE                (AO_SAMPLE_PROFILE_HIGH_PC - AO_SAMPLE_PROFILE_LOW_PC)