Home
last modified time | relevance | path

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

/system/core/libprocessgroup/
Dsched_policy.cpp76 char thread_name[255]; in set_sched_policy() local
79 memset(thread_name, 0, sizeof(thread_name)); in set_sched_policy()
94 strncpy(thread_name, p, (q - p)); in set_sched_policy()
98 SLOGD("vvv tid %d (%s)", tid, thread_name); in set_sched_policy()
104 SLOGD("^^^ tid %d (%s)", tid, thread_name); in set_sched_policy()
107 SLOGD("/// tid %d (%s)", tid, thread_name); in set_sched_policy()
110 SLOGD("RT tid %d (%s)", tid, thread_name); in set_sched_policy()
113 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/handler/
Ddebuggerd_handler.cpp171 char thread_name[MAX_TASK_NAME_LEN + 1]; // one more for termination in log_signal_summary() local
172 if (prctl(PR_GET_NAME, reinterpret_cast<unsigned long>(thread_name), 0, 0, 0) != 0) { in log_signal_summary()
173 strcpy(thread_name, "<name unknown>"); in log_signal_summary()
177 thread_name[MAX_TASK_NAME_LEN] = 0; in log_signal_summary()
182 thread_name); in log_signal_summary()
206 … sender_desc, addr_desc, __gettid(), thread_name, self_pid, main_thread_name); in log_signal_summary()
Ddebuggerd_fallback.cpp84 thread.thread_name = get_thread_name(gettid()); in debuggerd_fallback_trace()
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dtypes.h30 std::string thread_name; member
/system/bt/osi/include/
Dthread.h84 const char* thread_name(const thread_t* thread);
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp179 if (thread_info.thread_name == "logd" || in dump_thread_info()
180 android::base::StartsWith(thread_info.thread_name, "logd.")) { in dump_thread_info()
185 thread_info.tid, thread_info.thread_name.c_str(), thread_info.process_name.c_str()); in dump_thread_info()
565 std::string thread_name = get_thread_name(tid); in engrave_tombstone_ucontext() local
576 .thread_name = thread_name.c_str(), in engrave_tombstone_ucontext()
Dbacktrace.cpp63 _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.cc73 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.cpp246 std::string thread_name = tracing_field_comm_.ReadFromData(record.raw_data.data); in ProcessSampleRecord() local
251 thread.name = thread_name; in ProcessSampleRecord()
Dcmd_report_sample.cpp390 FprintIndented(report_fp_, 1, "thread_name: %s\n", thread.thread_name().c_str()); in DumpProtobufReport()
668 const char* thread_name = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid)->comm; in PrintSampleRecord() local
669 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.cc187 const char* thread_name(const thread_t* thread) { in thread_name() function
/system/core/debuggerd/
Dcrash_dump.cpp481 info.thread_name = get_thread_name(thread); in main()
613 if (thread_info[target_process].thread_name != "system_server") { in main()
/system/bt/btif/src/
Dbtif_a2dp_sink.cc85 explicit BtifA2dpSinkControlBlock(const std::string& thread_name) in BtifA2dpSinkControlBlock() argument
86 : 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
Dtest.py1467 thread_name = record_data['threadNames'][str(thread['tid'])]
1468 event_count_for_thread_name[thread_name] += thread['eventCount']
1480 thread_name = record_data['threadNames'][str(thread['tid'])]
1482 event_count_for_thread_name[thread_name])
/system/core/debuggerd/libdebuggerd/test/
Dtombstone_test.cpp355 .thread_name = "some_thread", in TEST_F()