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

Function findMethodTargets

src/instrument.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56static const MethodTargets* findMethodTargets(const Targets* targets, const char* class_name, size_t len) {
57 for (const auto& target : *targets) {
58 if (matchesPattern(class_name, len, target.first)) {
59 return &target.second;
60 }
61 }
62 return nullptr;
63}
64
65enum ConstantTag {
66 // Available since JDK 11

Callers 2

rewriteClassMethod · 0.85
ClassFileLoadHookMethod · 0.85

Calls 1

matchesPatternFunction · 0.85

Tested by

no test coverage detected