mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
Currently, timerlat displays a summary of the timerlat tracer results saving the trace if the system hits a stop condition. While this represented a huge step forward, the root cause was not that is accessible to non-expert users. The auto-analysis fulfill this gap by parsing the trace timerlat runs, printing an intuitive auto-analysis. Link: https://lkml.kernel.org/r/1ee073822f6a2cbb33da0c817331d0d4045e837f.1675179318.git.bristot@kernel.org Cc: Daniel Bristot de Oliveira <[email protected]> Cc: Jonathan Corbet <[email protected]> Signed-off-by: Daniel Bristot de Oliveira <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
13 lines
418 B
C
13 lines
418 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (C) 2023 Red Hat Inc, Daniel Bristot de Oliveira <[email protected]>
|
|
*/
|
|
|
|
int timerlat_aa_init(struct osnoise_tool *tool, int nr_cpus, int dump_task);
|
|
void timerlat_aa_destroy(void);
|
|
|
|
int timerlat_aa_handler(struct trace_seq *s, struct tep_record *record,
|
|
struct tep_event *event, void *context);
|
|
|
|
void timerlat_auto_analysis(int irq_thresh, int thread_thresh);
|