Home
last modified time | relevance | path

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

12

/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/extras/simpleperf/scripts/test/
Dreport_html_test.py40 thread_name = record_data['threadNames'][str(thread['tid'])]
41 event_count_for_thread_name[thread_name] += thread['eventCount']
52 thread_name = record_data['threadNames'][str(thread['tid'])]
54 event_count_for_thread_name[thread_name])
/system/bt/common/
Dmessage_loop_thread.h48 explicit MessageLoopThread(const std::string& thread_name);
49 explicit MessageLoopThread(const std::string& thread_name, bool is_main);
Dmessage_loop_thread.cc34 MessageLoopThread::MessageLoopThread(const std::string& thread_name) in MessageLoopThread() argument
35 : MessageLoopThread(thread_name, false) {} in MessageLoopThread()
37 MessageLoopThread::MessageLoopThread(const std::string& thread_name, in MessageLoopThread() argument
39 : thread_name_(thread_name), in MessageLoopThread()
/system/bt/test/mock/
Dmock_common_message_loop_thread.cc34 MessageLoopThread::MessageLoopThread(const std::string& thread_name) in MessageLoopThread() argument
35 : MessageLoopThread(thread_name, false) {} in MessageLoopThread()
37 MessageLoopThread::MessageLoopThread(const std::string& thread_name, in MessageLoopThread() argument
39 : thread_name_(thread_name), in MessageLoopThread()
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp170 char thread_name[MAX_TASK_NAME_LEN + 1]; // one more for termination in log_signal_summary() local
171 if (prctl(PR_GET_NAME, reinterpret_cast<unsigned long>(thread_name), 0, 0, 0) != 0) { in log_signal_summary()
172 strcpy(thread_name, "<name unknown>"); in log_signal_summary()
176 thread_name[MAX_TASK_NAME_LEN] = 0; in log_signal_summary()
181 thread_name); in log_signal_summary()
204 … 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.h32 std::string thread_name; member
/system/bt/osi/include/
Dthread.h84 const char* thread_name(const thread_t* thread);
/system/extras/simpleperf/
DRecordFilter.cpp76 void RecordFilter::AddThreadNameRegex(const std::string& thread_name, bool exclude) { in AddThreadNameRegex() argument
79 cond.thread_name_regs.emplace_back(thread_name, std::regex::optimize); in AddThreadNameRegex()
DRecordFilter.h69 void AddThreadNameRegex(const std::string& thread_name, bool exclude);
Dcmd_trace_sched.cpp249 std::string thread_name = tracing_field_comm_.ReadFromData(record.raw_data.data); in ProcessSampleRecord() local
254 thread.name = thread_name; in ProcessSampleRecord()
Dcmd_report_sample.cpp450 FprintIndented(report_fp_, 1, "thread_name: %s\n", thread.thread_name().c_str()); in DumpProtobufReport()
761 const char* thread_name = thread_tree_.FindThreadOrNew(r.tid_data.pid, r.tid_data.tid)->comm; in PrintSampleRecord() local
762 FprintIndented(report_fp_, 1, "thread_name: %s\n", thread_name); in PrintSampleRecord()
Dcmd_report_sample.proto117 optional string thread_name = 3; field
/system/bt/gd/os/linux_generic/
Dthread_unittest.cc73 TEST_F(ThreadTest, thread_name) { in TEST_F() argument
/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp66 _LOG(&log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", thread.thread_name.c_str(), thread.tid); in dump_backtrace_thread()
Dtombstone.cpp191 thread_info.tid, thread_info.thread_name.c_str(), process_name); in dump_thread_info()
574 std::string thread_name = get_thread_name(tid); in engrave_tombstone_ucontext() local
588 .thread_name = std::move(thread_name), in engrave_tombstone_ucontext()
/system/extras/simpleperf/scripts/inferno/
Dinferno.py224 thread_name = 'One flamegraph' if args.one_flamegraph else ('Thread %d (%s)' %
227 (thread_name, thread.num_samples))
/system/bt/osi/src/
Dthread.cc187 const char* thread_name(const thread_t* thread) { in thread_name() function
/system/core/debuggerd/
Dcrash_dump.cpp489 info.thread_name = get_thread_name(thread); in main()
639 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.py126 def get_thread(self, tid: int, thread_name: str) -> ThreadScope:
130 thread.name = thread_name
132 self.name = thread_name
/system/core/debuggerd/libdebuggerd/test/
Dtombstone_test.cpp357 .uid = 1, .tid = 3, .thread_name = "some_thread", .pid = 2, .command_line = cmdline}); in TEST_F()
/system/bt/test/stub/
Dosi.cc265 const char* thread_name(const thread_t* thread) { in thread_name() function

12