Home
last modified time | relevance | path

Searched refs:thread_name (Results 1 – 20 of 20) sorted by relevance

/system/core/libprocessgroup/
Dsched_policy.cpp93 char thread_name[255]; in set_sched_policy() local
96 memset(thread_name, 0, sizeof(thread_name)); in set_sched_policy()
111 strncpy(thread_name, p, (q - p)); in set_sched_policy()
115 SLOGD("vvv tid %d (%s)", tid, thread_name); in set_sched_policy()
121 SLOGD("^^^ tid %d (%s)", tid, thread_name); in set_sched_policy()
124 SLOGD("/// tid %d (%s)", tid, thread_name); in set_sched_policy()
127 SLOGD("RT tid %d (%s)", tid, thread_name); in set_sched_policy()
130 SLOGD("??? tid %d (%s)", tid, thread_name); in set_sched_policy()
/system/bt/osi/test/
Dthread_test.cc26 ASSERT_STREQ(thread_name(thread), "test_name"); in TEST_F()
32 ASSERT_STREQ("0123456789abcdef", thread_name(thread)); in TEST_F()
38 ASSERT_STREQ("0123456789abcdef", thread_name(thread)); in TEST_F()
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dtypes.h30 std::string thread_name; member
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp169 char thread_name[MAX_TASK_NAME_LEN + 1]; // one more for termination in log_signal_summary() local
170 if (prctl(PR_GET_NAME, reinterpret_cast<unsigned long>(thread_name), 0, 0, 0) != 0) { in log_signal_summary()
171 strcpy(thread_name, "<name unknown>"); in log_signal_summary()
175 thread_name[MAX_TASK_NAME_LEN] = 0; in log_signal_summary()
180 thread_name); in log_signal_summary()
203 … sender_desc, addr_desc, __gettid(), thread_name, self_pid, main_thread_name); in log_signal_summary()
Ddebuggerd_fallback.cpp83 thread.thread_name = get_thread_name(gettid()); in debuggerd_fallback_trace()
/system/bt/osi/include/
Dthread.h84 const char* thread_name(const thread_t* thread);
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp147 if (thread_info.thread_name == "logd" || in dump_thread_info()
148 android::base::StartsWith(thread_info.thread_name, "logd.")) { in dump_thread_info()
153 thread_info.tid, thread_info.thread_name.c_str(), thread_info.process_name.c_str()); in dump_thread_info()
629 char thread_name[16]; in engrave_tombstone_ucontext() local
632 read_with_default("/proc/self/comm", thread_name, sizeof(thread_name), "<unknown>"); in engrave_tombstone_ucontext()
643 .thread_name = thread_name, in engrave_tombstone_ucontext()
Dbacktrace.cpp68 _LOG(&log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", thread.thread_name.c_str(), thread.tid); in dump_backtrace_thread()
/system/bt/common/
Dmessage_loop_thread.cc31 MessageLoopThread::MessageLoopThread(const std::string& thread_name) in MessageLoopThread() argument
32 : thread_name_(thread_name), in MessageLoopThread()
Dmessage_loop_thread.h46 explicit MessageLoopThread(const std::string& thread_name);
/system/bt/gd/os/linux_generic/
Dthread_unittest.cc72 TEST_F(ThreadTest, thread_name) { in TEST_F() argument
/system/extras/simpleperf/scripts/inferno/
Dinferno.py220 thread_name = 'One flamegraph' if args.one_flamegraph else ('Thread %d (%s)' %
223 (thread_name, thread.num_samples))
/system/extras/simpleperf/
Dcmd_trace_sched.cpp256 std::string thread_name = tracing_field_comm_.ReadFromData(record.raw_data.data); in ProcessSampleRecord() local
261 thread.name = thread_name; in ProcessSampleRecord()
Dcmd_report_sample.cpp387 FprintIndented(report_fp_, 1, "thread_name: %s\n", thread.thread_name().c_str()); in DumpProtobufReport()
675 const char* thread_name = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid)->comm; in PrintSampleRecord() local
676 FprintIndented(report_fp_, 1, "thread_name: %s\n", thread_name); in PrintSampleRecord()
Dreport_sample.proto80 optional string thread_name = 3; field
/system/bt/osi/src/
Dthread.cc189 const char* thread_name(const thread_t* thread) { in thread_name() function
/system/core/debuggerd/
Dcrash_dump.cpp468 info.thread_name = get_thread_name(thread); in main()
600 if (thread_info[target_process].thread_name != "system_server") { in main()
/system/bt/btif/src/
Dbtif_a2dp_sink.cc83 explicit BtifA2dpSinkControlBlock(const std::string& thread_name) in BtifA2dpSinkControlBlock() argument
84 : worker_thread(thread_name), in BtifA2dpSinkControlBlock()
/system/extras/simpleperf/scripts/
Dreport_html.py112 def get_thread(self, tid, thread_name): argument
116 thread.name = thread_name
118 self.name = thread_name
/system/core/debuggerd/libdebuggerd/test/
Dtombstone_test.cpp350 .thread_name = "some_thread", in TEST_F()