Searched defs:agent (Results 1 - 4 of 4) sorted by relevance

/art/runtime/ti/
H A Dagent.cc17 #include "agent.h"
51 VLOG(agents) << "Loading agent: " << name_ << " " << args_;
55 // Tries to attach the agent using its OnAttach method. Returns true on success.
61 VLOG(agents) << "Attaching agent: " << name_ << " " << args_;
77 std::unique_ptr<Agent> agent = DoDlOpen(env, class_loader, error, error_msg); local
78 if (agent == nullptr) {
82 AgentOnLoadFunction callback = attaching ? agent->onattach_ : agent->onload_;
84 *error_msg = StringPrintf("Unable to start agent %s: No %s callback found",
105 return agent;
[all...]
/art/runtime/native/
H A Ddalvik_system_VMDebug.cc551 static void VMDebug_nativeAttachAgent(JNIEnv* env, jclass, jstring agent, jobject classloader) { argument
552 if (agent == nullptr) {
554 ThrowNullPointerException("agent is null");
560 ThrowSecurityException("Can't attach agent, process is not debuggable.");
566 ScopedUtfChars chars(env, agent);
/art/runtime/
H A Djava_vm_ext.cc50 #include "ti/agent.h"
1058 for (const std::unique_ptr<ti::Agent>& agent : Runtime::Current()->GetAgents()) {
1059 void* fn = agent->FindSymbol(jni_short_name);
1062 << " (symbol: " << jni_short_name << ") in " << *agent; local
1065 fn = agent->FindSymbol(jni_long_name);
1068 << " (symbol: " << jni_long_name << ") in " << *agent; local
1084 // Lookup JNI native methods from native TI Agent libraries. See runtime/ti/agent.h for more
H A Druntime.cc161 #include "ti/agent.h"
392 for (auto& agent : agents_) {
393 agent->Unload();
1589 std::unique_ptr<ti::Agent> agent = agent_spec.Load(&res, &error, &err); local
1591 if (agent != nullptr) {
1592 agents_.push_back(std::move(agent));
1598 LOG(FATAL) << "Unable to initialize agent!";
1602 LOG(ERROR) << "Unable to load an agent: " << err;
1658 // Attach a new agent and add it to the list of runtime agents
1677 std::unique_ptr<ti::Agent> agent local
[all...]

Completed in 101 milliseconds