stallion has asked for the wisdom of the Perl Monks concerning the following question:
hi monks, is there any way to do a call tree analysis using perl?
For eg: A c code function tree display -- audit -- bass elucent -- audit -- check main -- display -- elucent -- audit -- check
In the above audit,bass,display,elucent,main,check are functions
The output should be like this main display audit main display bass main elucent audit main elucent check main audit main check
Im extracting the function names and im having all the function names in an array..And the above function tree will be present in a .txt file.I have to open the .txt file and check for the word (main) which will be default in every conditions and i have to extract ansd write it to an excel sheet.Im a newbie and i just know to open and extract tags using regex from perl..help out monks...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: call tree analysis using perl
by BrowserUk (Patriarch) on Feb 15, 2012 at 06:39 UTC | |
|
Re: call tree analysis using perl
by oko1 (Deacon) on Feb 15, 2012 at 07:07 UTC | |
by rajkrishna89 (Acolyte) on Feb 15, 2012 at 16:18 UTC | |
by Anonymous Monk on Feb 15, 2012 at 08:49 UTC | |
by Eliya (Vicar) on Feb 15, 2012 at 09:03 UTC | |
by stallion (Acolyte) on Feb 15, 2012 at 11:30 UTC | |
by Eliya (Vicar) on Feb 15, 2012 at 11:37 UTC |