Home
last modified time | relevance | path

Searched refs:comm (Results 1 – 25 of 74) sorted by relevance

123

/developtools/smartperf_host/trace_streamer/test/unittest/filter/
Dtask_pool_filter_test.cpp123 std::string comm("e.myapplication"); variable
130 printEvent.ParsePrintEvent(comm, ts, pid, taskPoolStr, line);
136 comm = "e.myapplication";
138 printEvent.ParsePrintEvent(comm, ts, pid, taskPoolStr, line);
144 comm = "TaskWorkThread";
146 printEvent.ParsePrintEvent(comm, ts, pid, taskPoolStr, line);
160 std::string comm("e.myapplication"); variable
167 printEvent.ParsePrintEvent(comm, ts, pid, taskPoolStr, line);
172 comm = "e.myapplication";
174 printEvent.ParsePrintEvent(comm, ts, pid, taskPoolStr, line);
[all …]
/developtools/smartperf_host/trace_streamer/test/resource/
Dut_bytrace_input_thread.txt13 …ACCS0-2716 ( 2519) [000] d..5 168758.662877: sched_waking: comm=Binder:924_3 pid=1200 prio=120 ta…
14 …ACCS0-2716 ( 2519) [000] d..6 168758.662898: sched_wakeup: comm=Binder:924_3 pid=1200 prio=120 ta…
17 …<idle>-0 (-----) [003] d..3 168758.663092: sched_waking: comm=ksoftirqd/3 pid=29 prio=120 targ…
18 …HeapTaskDaemon-2532 ( 2519) [000] dnh2 168758.663097: sched_wakeup: comm=rcu_preempt pid=7 prio=9…
19 …<idle>-0 (-----) [003] dn.4 168758.663104: sched_wakeup: comm=ksoftirqd/3 pid=29 prio=120 targ…
24 …<idle>-0 (-----) [003] d..4 168758.663181: sched_waking: comm=rcu_preempt pid=7 prio=98 target…
25 …<idle>-0 (-----) [003] d..3 168758.663190: sched_waking: comm=ksoftirqd/3 pid=29 prio=120 targ…
26 …HeapTaskDaemon-2532 ( 2519) [000] dnh2 168758.663194: sched_wakeup: comm=rcu_preempt pid=7 prio=9…
27 …<idle>-0 (-----) [003] dn.4 168758.663198: sched_wakeup: comm=ksoftirqd/3 pid=29 prio=120 targ…
32 …<idle>-0 (-----) [003] d..4 168758.663261: sched_waking: comm=rcu_preempt pid=7 prio=98 target…
[all …]
Dut_bytrace_input_full.txt15 …ACCS0-2716 ( 2519) [000] d..5 168758.662877: sched_waking: comm=Binder:924_3 pid=1200 prio=120 ta…
16 …ACCS0-2716 ( 2519) [000] d..6 168758.662898: sched_wakeup: comm=Binder:924_3 pid=1200 prio=120 ta…
30 …<idle>-0 (-----) [003] d..4 168758.663078: sched_waking: comm=rcu_preempt pid=7 prio=98 target…
33 …<idle>-0 (-----) [003] d..3 168758.663092: sched_waking: comm=ksoftirqd/3 pid=29 prio=120 targ…
34 …HeapTaskDaemon-2532 ( 2519) [000] dnh2 168758.663097: sched_wakeup: comm=rcu_preempt pid=7 prio=9…
36 …<idle>-0 (-----) [003] dn.4 168758.663104: sched_wakeup: comm=ksoftirqd/3 pid=29 prio=120 targ…
43 …<idle>-0 (-----) [003] d..4 168758.663181: sched_waking: comm=rcu_preempt pid=7 prio=98 target…
46 …<idle>-0 (-----) [003] d..3 168758.663190: sched_waking: comm=ksoftirqd/3 pid=29 prio=120 targ…
47 …HeapTaskDaemon-2532 ( 2519) [000] dnh2 168758.663194: sched_wakeup: comm=rcu_preempt pid=7 prio=9…
49 …<idle>-0 (-----) [003] dn.4 168758.663198: sched_wakeup: comm=ksoftirqd/3 pid=29 prio=120 targ…
[all …]
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dsched.proto30 string comm = 1; field
41 string comm = 1; field
61 string comm = 1; field
76 string comm = 1; field
91 string comm = 1; field
98 string comm = 1; field
105 string comm = 1; field
112 string comm = 1; field
119 string comm = 1; field
127 string comm = 1; field
[all …]
Dblock.proto27 string comm = 5; field
36 string comm = 5; field
54 string comm = 5; field
63 string comm = 5; field
89 string comm = 5; field
94 string comm = 1; field
114 string comm = 6; field
125 string comm = 6; field
155 string comm = 5; field
164 string comm = 5; field
[all …]
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dsched.proto30 string comm = 1; field
41 string comm = 1; field
61 string comm = 1; field
76 string comm = 1; field
91 string comm = 1; field
98 string comm = 1; field
105 string comm = 1; field
112 string comm = 1; field
119 string comm = 1; field
127 string comm = 1; field
[all …]
Dblock.proto27 string comm = 5; field
36 string comm = 5; field
54 string comm = 5; field
63 string comm = 5; field
89 string comm = 5; field
94 string comm = 1; field
114 string comm = 6; field
125 string comm = 6; field
155 string comm = 5; field
164 string comm = 5; field
[all …]
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/
Dsched.proto29 string comm = 1; field
40 string comm = 1; field
60 string comm = 1; field
75 string comm = 1; field
90 string comm = 1; field
97 string comm = 1; field
104 string comm = 1; field
111 string comm = 1; field
118 string comm = 1; field
126 string comm = 1; field
[all …]
Dblock.proto27 string comm = 5; field
36 string comm = 5; field
54 string comm = 5; field
63 string comm = 5; field
89 string comm = 5; field
94 string comm = 1; field
114 string comm = 6; field
125 string comm = 6; field
155 string comm = 5; field
164 string comm = 5; field
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/include/
Dftrace_parser.h165 std::string comm; in ParseFtraceEvent() local
167 comm = it->second; in ParseFtraceEvent()
170 comm = FtraceFsOps::GetInstance().GetThreadComm(tgid, pid); in ParseFtraceEvent()
172 comm = FtraceFsOps::GetInstance().GetProcessComm(pid); in ParseFtraceEvent()
174 if (comm.size() > 0) { in ParseFtraceEvent()
175 comm.pop_back(); // /proc/xxx/comm end with `\n` in ParseFtraceEvent()
176 commDict_.insert(std::pair<int32_t, std::string>(pid, comm)); in ParseFtraceEvent()
179 if (comm.size() > 0) { in ParseFtraceEvent()
180 ftraceEvent.set_comm(comm); in ParseFtraceEvent()
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_formatters/
Dftrace_sched_event_formatter.cpp47 …buffer, BUFFER_SIZE, BUFFER_SIZE - 1, "sched_kthread_stop: comm=%s pid=%d", msg.comm().c_str(), ms… in __anon887d833c0502()
76 …"sched_migrate_task: comm=%s pid=%d prio=%d orig_cpu=%d dest_cpu=%d", msg.comm().c_str(), msg.pid(… in __anon887d833c0902()
108 msg.comm().c_str(), msg.pid(), msg.oldprio(), msg.newprio()); in __anon887d833c0d02()
137 msg.comm().c_str(), msg.pid(), msg.prio()); in __anon887d833c1102()
168 msg.comm().c_str(), msg.pid(), msg.prio()); in __anon887d833c1502()
183 msg.comm().c_str(), msg.pid(), msg.prio()); in __anon887d833c1702()
198 …"sched_stat_blocked: comm=%s pid=%d delay=%" PRIu64 " [ns]", msg.comm().c_str(), msg.pid(), msg.de… in __anon887d833c1902()
213 …"sched_stat_iowait: comm=%s pid=%d delay=%" PRIu64 " [ns]", msg.comm().c_str(), msg.pid(), msg.del… in __anon887d833c1b02()
227 …at_runtime: comm=%s pid=%d runtime=%" PRIu64 " [ns] vruntime=%" PRIu64 " [ns]", msg.comm().c_str(), in __anon887d833c1d02()
243 …"sched_stat_sleep: comm=%s pid=%d delay=%" PRIu64 " [ns]", msg.comm().c_str(), msg.pid(), msg.dela… in __anon887d833c1f02()
[all …]
Dftrace_block_event_formatter.cpp34 msg.rwbs().c_str(), msg.sector(), msg.nr_sector(), msg.comm().c_str()); in __anon2c8ec9a00302()
50 msg.sector(), msg.nr_sector(), msg.comm().c_str()); in __anon2c8ec9a00502()
83 msg.rwbs().c_str(), msg.sector(), msg.nr_sector(), msg.comm().c_str()); in __anon2c8ec9a00902()
99 msg.sector(), msg.nr_sector(), msg.comm().c_str()); in __anon2c8ec9a00b02()
149 msg.sector(), msg.nr_sector(), msg.comm().c_str()); in __anon2c8ec9a01102()
163 …int len = snprintf_s(buffer, BUFFER_SIZE, BUFFER_SIZE - 1, "block_plug: [%s]", msg.comm().c_str()); in __anon2c8ec9a01302()
196 …rwbs().c_str(), msg.bytes(), msg.cmd().c_str(), msg.sector(), msg.nr_sector(), msg.comm().c_str()); in __anon2c8ec9a01702()
213 …rwbs().c_str(), msg.bytes(), msg.cmd().c_str(), msg.sector(), msg.nr_sector(), msg.comm().c_str()); in __anon2c8ec9a01902()
264 msg.sector(), msg.nr_sector(), msg.comm().c_str()); in __anon2c8ec9a01f02()
281 msg.rwbs().c_str(), msg.sector(), msg.new_sector(), msg.comm().c_str()); in __anon2c8ec9a02102()
[all …]
Dftrace_oom_event_formatter.cpp32 … "oom_score_adj_update: pid=%d comm=%s oom_score_adj=%" PRId32 "", msg.pid(), msg.comm().c_str(), in __anon82ec64e00302()
/developtools/profiler/device/plugins/native_daemon/src/
Dvirtual_thread.cpp109 std::string comm = ReadFileToString(StringPrintf("/proc/%d/comm", tid)).c_str(); in ReadThreadName() local
110 comm.erase(std::remove(comm.begin(), comm.end(), '\r'), comm.end()); in ReadThreadName()
111 comm.erase(std::remove(comm.begin(), comm.end(), '\n'), comm.end()); in ReadThreadName()
112 return comm; in ReadThreadName()
Dvirtual_runtime.cpp64 std::string comm = ReadFileToString(StringPrintf("/proc/%d/comm", tid)).c_str(); in ReadThreadName() local
65 comm.erase(std::remove(comm.begin(), comm.end(), '\r'), comm.end()); in ReadThreadName()
66 comm.erase(std::remove(comm.begin(), comm.end(), '\n'), comm.end()); in ReadThreadName()
67 return comm; in ReadThreadName()
/developtools/hiperf/test/unittest/common/native/
Dreport_protobuf_file_test.cpp118 const PerfRecordComm comm(false, 2, 3, "dummy"); variable
123 protobufOutputFileWriter.ProcessRecord(comm);
154 const PerfRecordComm comm(false, 2, 3, "dummy"); variable
157 protobufOutputFileWriter_->ProcessRecord(comm);
167 ASSERT_EQ(message.tid(), comm.data_.tid); in __anonc60d4f8d0102()
168 ASSERT_EQ(message.pid(), comm.data_.pid); in __anonc60d4f8d0102()
169 ASSERT_STREQ(message.name().c_str(), comm.data_.comm); in __anonc60d4f8d0102()
/developtools/profiler/hiebpf/include/
Dhiebpf_types.h30 char comm[MAX_COMM_LEN]; member
64 char comm[MAX_COMM_LEN]; member
97 char comm[MAX_COMM_LEN]; member
Dhiebpf_common.h98 char* comm; member
115 char comm[MAX_COMM_LEN]; member
/developtools/profiler/device/plugins/hiebpf_plugin/tools/include/
Debpf_std_type.h67 char comm[MAX_COMM_LEN]; member
87 char comm[MAX_COMM_LEN]; member
113 char comm[MAX_COMM_LEN]; member
/developtools/smartperf_host/trace_streamer/src/parser/
Dprint_event_parser.h33 bool ParsePrintEvent(const std::string& comm,
39 …ParseBeginEvent(const std::string& comm, uint64_t ts, uint32_t pid, TracePoint& point, const Bytra…
41 void ParseStartEvent(const std::string& comm,
Dprint_event_parser.cpp40 bool PrintEventParser::ParsePrintEvent(const std::string& comm, in ParsePrintEvent() argument
59 ParseBeginEvent(comm, ts, pid, point, line); in ParsePrintEvent()
67 ParseStartEvent(comm, ts, pid, point, line); in ParsePrintEvent()
84 void PrintEventParser::ParseBeginEvent(const std::string& comm, in ParseBeginEvent() argument
90 …uint32_t index = streamFilters_->sliceFilter_->BeginSlice(comm, ts, pid, point.tgid_, INVALID_DATA… in ParseBeginEvent()
122 void PrintEventParser::ParseStartEvent(const std::string& comm, in ParseStartEvent() argument
134 base::EndWith(comm, onAnimationProcEvent_)) { // the comm is taskName in ParseStartEvent()
/developtools/smartperf_host/trace_streamer/test/unittest/interface/
Drpc_server_test.cpp97 std::string comm("e.myapplication"); variable
112 printEvent.ParsePrintEvent(comm, ts, pid, event, line);
/developtools/hiperf/src/
Dvirtual_runtime.cpp82 std::string comm = ""; in ReadThreadName() local
84 comm = SYSMGR_NAME; in ReadThreadName()
86 comm = DEVHOST_FILE_NAME; in ReadThreadName()
88 comm = ReadFileToString(StringPrintf("/proc/%d/comm", tid)).c_str(); in ReadThreadName()
90 comm = ReadFileToString(StringPrintf("/proc/%d/cmdline", tid)).c_str(); in ReadThreadName()
92 if (comm == EMPTY_STRING) { in ReadThreadName()
93 comm = ReadFromSavedCmdLines(tid); in ReadThreadName()
95 comm.erase(std::remove(comm.begin(), comm.end(), '\r'), comm.end()); in ReadThreadName()
96 comm.erase(std::remove(comm.begin(), comm.end(), '\n'), comm.end()); in ReadThreadName()
97 return comm; in ReadThreadName()
[all …]
/developtools/hiperf/test/unittest/resource/testdata/
Dreport_test_tids1.txt14 Heating count comm pid tid dso func
/developtools/hiperf/include/
Dreport.h128 ReportItem(pid_t pid, pid_t tid, const char *comm, const char *dso, const char *func, in ReportItem() argument
132 comm_(comm), in ReportItem()
138 HLOG_ASSERT(comm != nullptr); in ReportItem()
142 ReportItem(pid_t pid, pid_t tid, std::string &comm, const std::string_view &dso, in ReportItem() argument
146 comm_(comm), in ReportItem()
152 HLOG_ASSERT(!comm.empty()); in ReportItem()

123