H A D | builtin-timechart.c | 2 * builtin-timechart.c - make an svg timechart of system activity 49 struct timechart { struct 197 static struct per_pid *find_create_pid(struct timechart *tchart, int pid) find_create_pid() 214 static void pid_set_comm(struct timechart *tchart, int pid, char *comm) pid_set_comm() 240 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) pid_fork() 256 static void pid_exit(struct timechart *tchart, int pid, u64 timestamp) pid_exit() 265 static void pid_put_sample(struct timechart *tchart, int pid, int type, pid_put_sample() 316 struct timechart *tchart = container_of(tool, struct timechart, tool); process_comm_event() 326 struct timechart *tchart = container_of(tool, struct timechart, tool); process_fork_event() 336 struct timechart *tchart = container_of(tool, struct timechart, tool); process_exit_event() 351 static void c_state_end(struct timechart *tchart, int cpu, u64 timestamp) c_state_end() 368 static void p_state_change(struct timechart *tchart, int cpu, u64 timestamp, u64 new_freq) p_state_change() 404 static void sched_wakeup(struct timechart *tchart, int cpu, u64 timestamp, sched_wakeup() 437 static void sched_switch(struct timechart *tchart, int cpu, u64 timestamp, sched_switch() 549 typedef int (*tracepoint_handler)(struct timechart *tchart, 560 struct timechart *tchart = container_of(tool, struct timechart, tool); process_sample_event() 579 process_sample_cpu_idle(struct timechart *tchart __maybe_unused, process_sample_cpu_idle() 595 process_sample_cpu_frequency(struct timechart *tchart, process_sample_cpu_frequency() 608 process_sample_sched_wakeup(struct timechart *tchart, process_sample_sched_wakeup() 622 process_sample_sched_switch(struct timechart *tchart, process_sample_sched_switch() 638 process_sample_power_start(struct timechart *tchart __maybe_unused, process_sample_power_start() 651 process_sample_power_end(struct timechart *tchart, process_sample_power_end() 661 process_sample_power_frequency(struct timechart *tchart, process_sample_power_frequency() 678 static void end_sample_processing(struct timechart *tchart) end_sample_processing() 720 static int pid_begin_io_sample(struct timechart *tchart, int pid, int type, pid_begin_io_sample() 765 static int pid_end_io_sample(struct timechart *tchart, int pid, int type, pid_end_io_sample() 844 process_enter_read(struct timechart *tchart, process_enter_read() 854 process_exit_read(struct timechart *tchart, process_exit_read() 864 process_enter_write(struct timechart *tchart, process_enter_write() 874 process_exit_write(struct timechart *tchart, process_exit_write() 884 process_enter_sync(struct timechart *tchart, process_enter_sync() 894 process_exit_sync(struct timechart *tchart, process_exit_sync() 904 process_enter_tx(struct timechart *tchart, process_enter_tx() 914 process_exit_tx(struct timechart *tchart, process_exit_tx() 924 process_enter_rx(struct timechart *tchart, process_enter_rx() 934 process_exit_rx(struct timechart *tchart, process_exit_rx() 944 process_enter_poll(struct timechart *tchart, process_enter_poll() 954 process_exit_poll(struct timechart *tchart, process_exit_poll() 966 static void sort_pids(struct timechart *tchart) sort_pids() 1012 static void draw_c_p_states(struct timechart *tchart) draw_c_p_states() 1037 static void draw_wakeups(struct timechart *tchart) draw_wakeups() 1105 static void draw_cpu_usage(struct timechart *tchart) draw_cpu_usage() 1133 static void draw_io_bars(struct timechart *tchart) draw_io_bars() 1248 static void draw_process_bars(struct timechart *tchart) draw_process_bars() 1337 static int determine_display_tasks_filtered(struct timechart *tchart) determine_display_tasks_filtered() 1377 static int determine_display_tasks(struct timechart *tchart, u64 threshold) determine_display_tasks() 1418 static int determine_display_io_tasks(struct timechart *timechart, u64 threshold) determine_display_io_tasks() argument 1424 p = timechart->all_data; determine_display_io_tasks() 1428 p->end_time = timechart->last_time; determine_display_io_tasks() 1441 c->end_time = timechart->last_time; determine_display_io_tasks() 1453 static void write_svg_file(struct timechart *tchart, const char *filename) write_svg_file() 1512 struct timechart *tchart = data; process_header() 1537 static int __cmd_timechart(struct timechart *tchart, const char *output_name) __cmd_timechart() 1620 if (!perf_session__has_traces(session, "timechart record")) __cmd_timechart() 1779 static int timechart__record(struct timechart *tchart, int argc, const char **argv) timechart__record() 1922 struct timechart tchart = { cmd_timechart() 1967 "perf timechart [<options>] {record}", cmd_timechart() 1981 "perf timechart record [<options>]", cmd_timechart()
|