This shows you the differences between two versions of the page.
|
dmmreadme [2010/12/09 09:28] Tecnicos Artecs |
dmmreadme [2010/12/09 09:31] (current) Tecnicos Artecs |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| In the folder source/tools/SimpleExamples we create a CPP file, for example MyMallocTrace.cpp: | In the folder source/tools/SimpleExamples we create a CPP file, for example MyMallocTrace.cpp: | ||
| - | <nowiki> | + | <code c> |
| /* ===================================================================== */ | /* ===================================================================== */ | ||
| /* | /* | ||
| Line 147: | Line 147: | ||
| /* eof */ | /* eof */ | ||
| /* ===================================================================== */ | /* ===================================================================== */ | ||
| - | </nowiki> | + | </code> |
| Now we edit the makefile (in the same folder). We insert the CPP created: | Now we edit the makefile (in the same folder). We insert the CPP created: | ||
| ... | ... | ||
| - | TOOL_ROOTS = dcache edgcnt pinatrace trace icount inscount2_mt opcodemix malloctrace MyMallocTrace calltrace \ | + | TOOL_ROOTS = dcache edgcnt pinatrace trace icount inscount2_mt opcodemix malloctrace MyMallocTrace calltrace jumpmix toprtn catmix regmix ilenmix coco |
| - | jumpmix toprtn catmix regmix ilenmix coco | + | |
| ... | ... | ||
| - | TEST_TOOLS_ROOTS = dcache edgcnt pinatrace trace icount opcodemix malloctrace MyMallocTrace calltrace \ | + | TEST_TOOLS_ROOTS = dcache edgcnt pinatrace trace icount opcodemix malloctrace MyMallocTrace calltrace jumpmix toprtn catmix regmix inscount2_mt |
| - | jumpmix toprtn catmix regmix inscount2_mt | + | |
| ... | ... | ||