filtercalltree(1) BSD General Commands Manual filtercalltree(1)NAME
filtercalltree -- Filter or prune a call tree file generated by sample or malloc_history
SYNOPSIS
filtercalltree call-tree-file [-invertCallTree] [-pruneCount count] [-pruneMallocSize size] [-chargeSystemLibraries]
[-chargeLibrary libraryName] [-keepBoundaries]
DESCRIPTION
filtercalltree reads a file containing a call tree, as generated by the sample(1) or malloc_history(1) commands, and filters or prunes it as
specified by the options.
OPTIONS -invertCallTree Print the call tree from hottest to coldest stack frame.
-pruneCount count Remove branches of the call tree that have count less than count
-pruneMallocSize size Remove branches of the call tree that have malloc size less than size, such as 500K or 1.2M.
-chargeSystemLibraries Remove stack frames from all libraries in /System and /usr, while still charging their cost to the caller.
-chargeLibrary library-name
Remove stack frames from library-name, while still charging their cost to the caller. This argument can be repeated
for multiple libraries.
-keepBoundaries When charging libraries to callers, keep the top call into excluded libraries.
SEE ALSO malloc_history(1), sample(1)BSD May 7, 2011 BSD
Check Out this Related Man Page
filtercalltree(1) BSD General Commands Manual filtercalltree(1)NAME
filtercalltree -- Filter or prune a call tree file generated by sample or malloc_history
SYNOPSIS
filtercalltree call-tree-file [-invertCallTree] [-pruneCount count] [-pruneMallocSize size] [-chargeSystemLibraries]
[-chargeLibrary libraryName] [-keepBoundaries]
DESCRIPTION
filtercalltree reads a file containing a call tree, as generated by the sample(1) or malloc_history(1) commands, and filters or prunes it as
specified by the options.
OPTIONS -invertCallTree Print the call tree from hottest to coldest stack frame.
-pruneCount count Remove branches of the call tree that have count less than count
-pruneMallocSize size Remove branches of the call tree that have malloc size less than size, such as 500K or 1.2M.
-chargeSystemLibraries Remove stack frames from all libraries in /System and /usr, while still charging their cost to the caller.
-chargeLibrary library-name
Remove stack frames from library-name, while still charging their cost to the caller. This argument can be repeated
for multiple libraries.
-keepBoundaries When charging libraries to callers, keep the top call into excluded libraries.
SEE ALSO malloc_history(1), sample(1)BSD May 7, 2011 BSD
We have a huge makefile composing of inclusion of libraries, objects and system libraries to generate a binary.
How do we find out that which of the libraries we can remove in the most efficient way? Doing hit and trial method is a waste of time and can during the linking with some post linking... (12 Replies)
I am new to Perl and in text file of around 1000 lines having around 500 repeated line which I felt is no use and want to remove these line.so can somebody help in same for providing sample code how can i remove these repeated line in a file. (11 Replies)
Hi, i need to read a line from a file and count the number of times it appear in, then continuous to the second line with the same. So when i count a line i have to remove all duplicates in the file to not count it another time.
while read line
do
n=$(grep -c $line File)
print "$line... (5 Replies)
Let's say I have a file called test.out. In this file I want to do the following:
1. Search for DIP-10219 and with this:
2. Remove everything in front of cn=
3. Remove everything after *com
4. Remove duplicate lines
5. Replace ( with \(
6. Replace ) with \)
For 1-3 I have figured out this... (11 Replies)