|
@@ -282,16 +282,16 @@ static void irqsoff_print_header(struct seq_file *s)
|
|
/*
|
|
/*
|
|
* Should this new latency be reported/recorded?
|
|
* Should this new latency be reported/recorded?
|
|
*/
|
|
*/
|
|
-static int report_latency(struct trace_array *tr, cycle_t delta)
|
|
|
|
|
|
+static bool report_latency(struct trace_array *tr, cycle_t delta)
|
|
{
|
|
{
|
|
if (tracing_thresh) {
|
|
if (tracing_thresh) {
|
|
if (delta < tracing_thresh)
|
|
if (delta < tracing_thresh)
|
|
- return 0;
|
|
|
|
|
|
+ return false;
|
|
} else {
|
|
} else {
|
|
if (delta <= tr->max_latency)
|
|
if (delta <= tr->max_latency)
|
|
- return 0;
|
|
|
|
|
|
+ return false;
|
|
}
|
|
}
|
|
- return 1;
|
|
|
|
|
|
+ return true;
|
|
}
|
|
}
|
|
|
|
|
|
static void
|
|
static void
|