We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c19ed57 commit 007acb6Copy full SHA for 007acb6
1 file changed
src/elf_det.c
@@ -137,8 +137,8 @@ static void print_thread_info_line(struct seq_file *m,
137
int i;
138
u64 total_ns, delta_ns, usage_permyriad;
139
140
- /* Get thread state using helper function */
141
- state_char = get_thread_state_char(READ_ONCE(thread->__state));
+ /* Get thread state using kernel helper */
+ state_char = task_state_to_char(thread);
142
143
/* CPU usage for this thread */
144
total_ns = (u64)thread->utime + (u64)thread->stime;
0 commit comments