MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / findBlob

Method findBlob

src/codeCache.cpp:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114CodeBlob* CodeCache::findBlob(const char* name) {
115 for (int i = 0; i < _count; i++) {
116 const char* blob_name = _blobs[i]._name;
117 if (blob_name != NULL && strcmp(blob_name, name) == 0) {
118 return &_blobs[i];
119 }
120 }
121 return NULL;
122}
123
124CodeBlob* CodeCache::findBlobByAddress(const void* address) {
125 for (int i = 0; i < _count; i++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected