diff --git a/tools/trace-malloc/rules.txt b/tools/trace-malloc/rules.txt index 7b75bfe2b8d..525fd249a94 100644 --- a/tools/trace-malloc/rules.txt +++ b/tools/trace-malloc/rules.txt @@ -70,22 +70,30 @@ # =========================================================================== # Leaf rules. We cagegorize them out first. -# These are generally functions or classes that we know cause an -# allocation at specified category and no other category an intervene +# All allocations matching these rules DO belong to the category. # =========================================================================== nsXULPrototypeScript::Deserialize + +XSupportsLocale + + +/usr/X11R6/lib/libX11.so + + +JS_Init + + +NS_NewPermanentAtom + gfxImageFrame::Init gif_write - -nsHttpChannel::AsyncOpen - nsZipArchive::BuildFileList @@ -95,18 +103,6 @@ nsZipArchive::ReadInit nsJARChannel::Open - -nsDiskCacheDevice::Init - - -nsCacheEntryDescriptor::nsTransportWrapper::OpenOutputStream - - -nsSocketTransport:: - - -nsCacheService:: - NS_InitXPCOM2 @@ -117,6 +113,30 @@ xptiInterfaceInfoManager::LoadFile nsGenericModule::Initialize + +nsStringBundle + + +nsLocale:: + + +nsCharsetConverterManager:: + + +nsHttpChannel::AsyncOpen + + +nsDiskCacheDevice::Init + + +nsCacheEntryDescriptor::nsTransportWrapper::OpenOutputStream + + +nsSocketTransport:: + + +nsCacheService:: + nsXULElement::Create @@ -198,12 +218,6 @@ CSSRuleProcessor::RulesMatching CSSStyleSheetImpl::Clone - -nsIOService::NewURI - - -nsIOService::NewChannelFromURI - nsHttpHeaderArray:: @@ -219,14 +233,8 @@ NS_NewHTMLTokenizer nsSlidingString:: - -nsStringBundle:: - - -nsLocale:: - - -nsCharsetConverterManager:: + +CNavDTD::CNavDTD # ====================================================================== # Rules that match higher up on the stack @@ -320,6 +328,12 @@ nsXBLContentSink:: nsXBLStreamListener::OnDataAvailable + +nsIOService::NewURI + + +nsIOService::NewChannelFromURI + # Catchalls to help categorize # ----------------------------------------------------------------------