Lines Matching refs:timechart
51 struct timechart { struct
199 static struct per_pid *find_create_pid(struct timechart *tchart, int pid) in find_create_pid()
216 static void pid_set_comm(struct timechart *tchart, int pid, char *comm) in pid_set_comm()
242 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork()
258 static void pid_exit(struct timechart *tchart, int pid, u64 timestamp) in pid_exit()
267 static void pid_put_sample(struct timechart *tchart, int pid, int type, in pid_put_sample()
318 struct timechart *tchart = container_of(tool, struct timechart, tool); in process_comm_event()
328 struct timechart *tchart = container_of(tool, struct timechart, tool); in process_fork_event()
338 struct timechart *tchart = container_of(tool, struct timechart, tool); in process_exit_event()
353 static void c_state_end(struct timechart *tchart, int cpu, u64 timestamp) in c_state_end()
370 static void p_state_change(struct timechart *tchart, int cpu, u64 timestamp, u64 new_freq) in p_state_change()
406 static void sched_wakeup(struct timechart *tchart, int cpu, u64 timestamp, in sched_wakeup()
439 static void sched_switch(struct timechart *tchart, int cpu, u64 timestamp, in sched_switch()
547 typedef int (*tracepoint_handler)(struct timechart *tchart,
558 struct timechart *tchart = container_of(tool, struct timechart, tool); in process_sample_event()
577 process_sample_cpu_idle(struct timechart *tchart __maybe_unused, in process_sample_cpu_idle()
593 process_sample_cpu_frequency(struct timechart *tchart, in process_sample_cpu_frequency()
606 process_sample_sched_wakeup(struct timechart *tchart, in process_sample_sched_wakeup()
620 process_sample_sched_switch(struct timechart *tchart, in process_sample_sched_switch()
636 process_sample_power_start(struct timechart *tchart __maybe_unused, in process_sample_power_start()
649 process_sample_power_end(struct timechart *tchart, in process_sample_power_end()
659 process_sample_power_frequency(struct timechart *tchart, in process_sample_power_frequency()
676 static void end_sample_processing(struct timechart *tchart) in end_sample_processing()
718 static int pid_begin_io_sample(struct timechart *tchart, int pid, int type, in pid_begin_io_sample()
763 static int pid_end_io_sample(struct timechart *tchart, int pid, int type, in pid_end_io_sample()
842 process_enter_read(struct timechart *tchart, in process_enter_read()
852 process_exit_read(struct timechart *tchart, in process_exit_read()
862 process_enter_write(struct timechart *tchart, in process_enter_write()
872 process_exit_write(struct timechart *tchart, in process_exit_write()
882 process_enter_sync(struct timechart *tchart, in process_enter_sync()
892 process_exit_sync(struct timechart *tchart, in process_exit_sync()
902 process_enter_tx(struct timechart *tchart, in process_enter_tx()
912 process_exit_tx(struct timechart *tchart, in process_exit_tx()
922 process_enter_rx(struct timechart *tchart, in process_enter_rx()
932 process_exit_rx(struct timechart *tchart, in process_exit_rx()
942 process_enter_poll(struct timechart *tchart, in process_enter_poll()
952 process_exit_poll(struct timechart *tchart, in process_exit_poll()
964 static void sort_pids(struct timechart *tchart) in sort_pids()
1010 static void draw_c_p_states(struct timechart *tchart) in draw_c_p_states()
1035 static void draw_wakeups(struct timechart *tchart) in draw_wakeups()
1103 static void draw_cpu_usage(struct timechart *tchart) in draw_cpu_usage()
1131 static void draw_io_bars(struct timechart *tchart) in draw_io_bars()
1246 static void draw_process_bars(struct timechart *tchart) in draw_process_bars()
1335 static int determine_display_tasks_filtered(struct timechart *tchart) in determine_display_tasks_filtered()
1375 static int determine_display_tasks(struct timechart *tchart, u64 threshold) in determine_display_tasks()
1416 static int determine_display_io_tasks(struct timechart *timechart, u64 threshold) in determine_display_io_tasks() argument
1422 p = timechart->all_data; in determine_display_io_tasks()
1426 p->end_time = timechart->last_time; in determine_display_io_tasks()
1439 c->end_time = timechart->last_time; in determine_display_io_tasks()
1451 static void write_svg_file(struct timechart *tchart, const char *filename) in write_svg_file()
1510 struct timechart *tchart = data; in process_header()
1532 static int __cmd_timechart(struct timechart *tchart, const char *output_name) in __cmd_timechart()
1776 static int timechart__record(struct timechart *tchart, int argc, const char **argv) in timechart__record()
1918 struct timechart tchart = { in cmd_timechart()