/art/runtime/ |
H A D | runtime_android.cc | 60 struct sigaction action; local 61 memset(&action, 0, sizeof(action)); 62 sigemptyset(&action.sa_mask); 63 action.sa_sigaction = HandleUnexpectedSignal; 65 action.sa_flags |= SA_SIGINFO; 67 action.sa_flags |= SA_ONSTACK; 69 rc += sigaction(SIGSEGV, &action, &old_action);
|
H A D | fault_handler.cc | 98 static void SetUpArtAction(struct sigaction* action) { argument 99 action->sa_sigaction = art_fault_handler; 100 sigemptyset(&action->sa_mask); 101 action->sa_flags = SA_SIGINFO | SA_ONSTACK; 103 action->sa_restorer = nullptr; 109 struct sigaction action; local 110 SetUpArtAction(&action); 111 EnsureFrontOfChain(SIGSEGV, &action); 119 struct sigaction action; local 120 SetUpArtAction(&action); 182 struct sigaction action; local [all...] |
H A D | runtime_linux.cc | 379 struct sigaction action; local 380 memset(&action, 0, sizeof(action)); 381 sigemptyset(&action.sa_mask); 382 action.sa_handler = SIG_DFL; 383 sigaction(signal_number, &action, nullptr); 393 struct sigaction action; local 394 memset(&action, 0, sizeof(action)); 395 sigemptyset(&action [all...] |
H A D | trace.cc | 121 uint32_t Trace::EncodeTraceMethodAndAction(ArtMethod* method, TraceAction action) { argument 122 uint32_t tmid = (EncodeTraceMethod(method) << TraceActionBits) | action; 642 TraceAction action = DecodeTraceAction(tmid); local 643 LOG(INFO) << PrettyMethod(method) << " " << static_cast<int>(action); 934 TraceAction action = kTraceMethodEnter; local 937 action = kTraceMethodEnter; 940 action = kTraceMethodExit; 943 action = kTraceUnroll; 949 uint32_t method_value = EncodeTraceMethodAndAction(method, action);
|
H A D | trace.h | 68 // u4 method ID | method action 73 // u4 method ID | method action 78 // u4 method ID | method action 232 uint32_t EncodeTraceMethodAndAction(ArtMethod* method, TraceAction action)
|
H A D | runtime.cc | 613 NativeBridgeAction action = force_native_bridge_ local 618 action, 705 JNIEnv* env, bool is_system_server, NativeBridgeAction action, const char* isa) { 709 switch (action) { 1260 // DidForkFromZygote(action) 1261 // action = kUnload -> dlclose native bridge. 1262 // action = kInitialize -> initialize library 704 InitNonZygoteOrPostFork( JNIEnv* env, bool is_system_server, NativeBridgeAction action, const char* isa) argument
|
H A D | runtime.h | 464 JNIEnv* env, bool is_system_server, NativeBridgeAction action, const char* isa);
|
/art/test/004-SignalTest/ |
H A D | signaltest.cc | 79 struct sigaction action; local 80 action.sa_sigaction = signalhandler; 81 sigemptyset(&action.sa_mask); 82 action.sa_flags = SA_SIGINFO | SA_ONSTACK; 84 action.sa_restorer = nullptr; 87 sigaction(SIGSEGV, &action, &oldaction);
|
/art/sigchainlib/ |
H A D | sigchain.cc | 45 // Claim the signal and keep the action specified. 46 void Claim(const struct sigaction& action) { argument 47 action_ = action; 51 // Unclaim the signal and restore the old action. 54 sigaction(signal, &action_, nullptr); // Restore old action. 57 // Get the action associated with this signal. 67 // Change the recorded action to that specified. 68 // If oldstyle is true then this action is from an older style signal() 71 void SetAction(const struct sigaction& action, bool oldstyle) { argument 72 action_ = action; 164 const struct sigaction& action = user_sigactions[sig].GetAction(); local [all...] |
/art/tools/checker/ |
H A D | checker.py | 34 parser.add_argument("--list-passes", dest="list_passes", action="store_true", 40 parser.add_argument("--debuggable", action="store_true", 42 parser.add_argument("-q", "--quiet", action="store_true",
|
/art/tools/dmtracedump/ |
H A D | createtesttrace.cc | 64 uint32_t action; /* 0=entry, 1=exit, 2=exception exit */ member in struct:dataRecord 162 int32_t action; local 238 action = 0; 250 action = 1; 261 action = 1; 289 if (action == 0) 293 records[nextRecord].action = action; 392 uint32_t val = METHOD_COMBINE(pRecord->methodId, pRecord->action);
|
H A D | tracedump.cc | 1061 printf("Trace (threadID action usecs class.method signature):\n"); 1073 int32_t action = METHOD_ACTION(methodVal); local 1081 if (action == METHOD_TRACE_ENTER) { 1107 printf("%2d %s%c %8" PRIu64 "%c%s%s.%s %s\n", threadId, actionStr[action], 1112 printf("%2d %s%c %8" PRIu64 "%c%s%s\n", threadId, actionStr[action], 1117 if (action != METHOD_TRACE_ENTER) { 2062 int32_t action = METHOD_ACTION(methodVal); local 2084 threadId, currentTime, action, pStack->threadStartTime, 2090 threadId, currentTime, action, pStack->threadStartTime, 2096 if (action [all...] |
/art/runtime/native/ |
H A D | dalvik_system_ZygoteHooks.cc | 210 Runtime::NativeBridgeAction action = Runtime::NativeBridgeAction::kUnload; local 212 action = Runtime::NativeBridgeAction::kInitialize; 215 env, is_system_server, action, isa_string.c_str());
|