mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 23:18:20 +00:00
ftrace: cleanups
no code changed. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
93dcc6ea09
commit
afc2abc0ae
@ -1155,12 +1155,12 @@ lat_print_generic(struct trace_seq *s, struct trace_entry *entry, int cpu)
|
|||||||
|
|
||||||
hardirq = entry->flags & TRACE_FLAG_HARDIRQ;
|
hardirq = entry->flags & TRACE_FLAG_HARDIRQ;
|
||||||
softirq = entry->flags & TRACE_FLAG_SOFTIRQ;
|
softirq = entry->flags & TRACE_FLAG_SOFTIRQ;
|
||||||
if (hardirq && softirq)
|
if (hardirq && softirq) {
|
||||||
trace_seq_putc(s, 'H');
|
trace_seq_putc(s, 'H');
|
||||||
else {
|
} else {
|
||||||
if (hardirq)
|
if (hardirq) {
|
||||||
trace_seq_putc(s, 'h');
|
trace_seq_putc(s, 'h');
|
||||||
else {
|
} else {
|
||||||
if (softirq)
|
if (softirq)
|
||||||
trace_seq_putc(s, 's');
|
trace_seq_putc(s, 's');
|
||||||
else
|
else
|
||||||
@ -2177,8 +2177,7 @@ tracing_poll_pipe(struct file *filp, poll_table *poll_table)
|
|||||||
* Always select as readable when in blocking mode
|
* Always select as readable when in blocking mode
|
||||||
*/
|
*/
|
||||||
return POLLIN | POLLRDNORM;
|
return POLLIN | POLLRDNORM;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
if (!trace_empty(iter))
|
if (!trace_empty(iter))
|
||||||
return POLLIN | POLLRDNORM;
|
return POLLIN | POLLRDNORM;
|
||||||
poll_wait(filp, &trace_wait, poll_table);
|
poll_wait(filp, &trace_wait, poll_table);
|
||||||
|
Loading…
Reference in New Issue
Block a user