TODO: ref 'checkstack.pl' not 'checkpatch.pl'
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>__archive__
parent
b404b9ab57
commit
dc22fd899e
4
TODO
4
TODO
|
@ -308,10 +308,10 @@ fairly easy to complete:
|
||||||
|
|
||||||
|
|
||||||
- use dynamic allocations for working memory. Scan & fix code
|
- use dynamic allocations for working memory. Scan & fix code
|
||||||
for excessive stack allocations. take linux/scripts/checkpatch.pl and
|
for excessive stack allocations. take linux/scripts/checkstack.pl and
|
||||||
see what the worst offenders are. Example, on amd64:
|
see what the worst offenders are. Example, on amd64:
|
||||||
|
|
||||||
$ objdump -d | checkpatch.pl | head -10
|
$ objdump -d | checkstack.pl | head -10
|
||||||
0x004311e3 image_open [openocd]: 13464
|
0x004311e3 image_open [openocd]: 13464
|
||||||
0x00431301 image_open [openocd]: 13464
|
0x00431301 image_open [openocd]: 13464
|
||||||
0x004237a4 target_array2mem [openocd]: 4376
|
0x004237a4 target_array2mem [openocd]: 4376
|
||||||
|
|
Loading…
Reference in New Issue