/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-timechart.c | 199 static struct per_pid *find_create_pid(struct timechart *tchart, int pid) in find_create_pid() argument 201 struct per_pid *cursor = tchart->all_data; in find_create_pid() 211 cursor->next = tchart->all_data; in find_create_pid() 212 tchart->all_data = cursor; in find_create_pid() 216 static void pid_set_comm(struct timechart *tchart, int pid, char *comm) in pid_set_comm() argument 220 p = find_create_pid(tchart, pid); in pid_set_comm() 242 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument 245 p = find_create_pid(tchart, pid); in pid_fork() 246 pp = find_create_pid(tchart, ppid); in pid_fork() 249 pid_set_comm(tchart, pi in pid_fork() 258 pid_exit(struct timechart *tchart, int pid, u64 timestamp) pid_exit() argument 267 pid_put_sample(struct timechart *tchart, int pid, int type, unsigned int cpu, u64 start, u64 end, const char *backtrace) pid_put_sample() argument 318 struct timechart *tchart = container_of(tool, struct timechart, tool); process_comm_event() local 328 struct timechart *tchart = container_of(tool, struct timechart, tool); process_fork_event() local 338 struct timechart *tchart = container_of(tool, struct timechart, tool); process_exit_event() local 353 c_state_end(struct timechart *tchart, int cpu, u64 timestamp) c_state_end() argument 370 p_state_change(struct timechart *tchart, int cpu, u64 timestamp, u64 new_freq) p_state_change() argument 406 sched_wakeup(struct timechart *tchart, int cpu, u64 timestamp, int waker, int wakee, u8 flags, const char *backtrace) sched_wakeup() argument 439 sched_switch(struct timechart *tchart, int cpu, u64 timestamp, int prev_pid, int next_pid, u64 prev_state, const char *backtrace) sched_switch() argument 558 struct timechart *tchart = container_of(tool, struct timechart, tool); process_sample_event() local 593 process_sample_cpu_frequency(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample, const char *backtrace __maybe_unused) process_sample_cpu_frequency() argument 606 process_sample_sched_wakeup(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample, const char *backtrace) process_sample_sched_wakeup() argument 620 process_sample_sched_switch(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample, const char *backtrace) process_sample_sched_switch() argument 649 process_sample_power_end(struct timechart *tchart, struct evsel *evsel __maybe_unused, struct perf_sample *sample, const char *backtrace __maybe_unused) process_sample_power_end() argument 659 process_sample_power_frequency(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample, const char *backtrace __maybe_unused) process_sample_power_frequency() argument 676 end_sample_processing(struct timechart *tchart) end_sample_processing() argument 718 pid_begin_io_sample(struct timechart *tchart, int pid, int type, u64 start, int fd) pid_begin_io_sample() argument 763 pid_end_io_sample(struct timechart *tchart, int pid, int type, u64 end, long ret) pid_end_io_sample() argument 842 process_enter_read(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_read() argument 852 process_exit_read(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_read() argument 862 process_enter_write(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_write() argument 872 process_exit_write(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_write() argument 882 process_enter_sync(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_sync() argument 892 process_exit_sync(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_sync() argument 902 process_enter_tx(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_tx() argument 912 process_exit_tx(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_tx() argument 922 process_enter_rx(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_rx() argument 932 process_exit_rx(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_rx() argument 942 process_enter_poll(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_poll() argument 952 process_exit_poll(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_poll() argument 964 sort_pids(struct timechart *tchart) sort_pids() argument 1010 draw_c_p_states(struct timechart *tchart) draw_c_p_states() argument 1035 draw_wakeups(struct timechart *tchart) draw_wakeups() argument 1103 draw_cpu_usage(struct timechart *tchart) draw_cpu_usage() argument 1131 draw_io_bars(struct timechart *tchart) draw_io_bars() argument 1246 draw_process_bars(struct timechart *tchart) draw_process_bars() argument 1335 determine_display_tasks_filtered(struct timechart *tchart) determine_display_tasks_filtered() argument 1375 determine_display_tasks(struct timechart *tchart, u64 threshold) determine_display_tasks() argument 1451 write_svg_file(struct timechart *tchart, const char *filename) write_svg_file() argument 1510 struct timechart *tchart = data; process_header() local 1532 __cmd_timechart(struct timechart *tchart, const char *output_name) __cmd_timechart() argument 1776 timechart__record(struct timechart *tchart, int argc, const char **argv) timechart__record() argument 1918 struct timechart tchart = { cmd_timechart() local [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-timechart.c | 202 static struct per_pid *find_create_pid(struct timechart *tchart, int pid) in find_create_pid() argument 204 struct per_pid *cursor = tchart->all_data; in find_create_pid() 214 cursor->next = tchart->all_data; in find_create_pid() 215 tchart->all_data = cursor; in find_create_pid() 232 static void pid_set_comm(struct timechart *tchart, int pid, char *comm) in pid_set_comm() argument 236 p = find_create_pid(tchart, pid); in pid_set_comm() 255 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument 258 p = find_create_pid(tchart, pid); in pid_fork() 259 pp = find_create_pid(tchart, ppid); in pid_fork() 262 pid_set_comm(tchart, pi in pid_fork() 271 pid_exit(struct timechart *tchart, int pid, u64 timestamp) pid_exit() argument 280 pid_put_sample(struct timechart *tchart, int pid, int type, unsigned int cpu, u64 start, u64 end, const char *backtrace) pid_put_sample() argument 328 struct timechart *tchart = container_of(tool, struct timechart, tool); process_comm_event() local 338 struct timechart *tchart = container_of(tool, struct timechart, tool); process_fork_event() local 348 struct timechart *tchart = container_of(tool, struct timechart, tool); process_exit_event() local 363 c_state_end(struct timechart *tchart, int cpu, u64 timestamp) c_state_end() argument 380 p_state_end(struct timechart *tchart, int cpu, u64 timestamp) p_state_end() argument 401 p_state_change(struct timechart *tchart, int cpu, u64 timestamp, u64 new_freq) p_state_change() argument 425 sched_wakeup(struct timechart *tchart, int cpu, u64 timestamp, int waker, int wakee, u8 flags, const char *backtrace) sched_wakeup() argument 458 sched_switch(struct timechart *tchart, int cpu, u64 timestamp, int prev_pid, int next_pid, u64 prev_state, const char *backtrace) sched_switch() argument 580 struct timechart *tchart = container_of(tool, struct timechart, tool); process_sample_event() local 615 process_sample_cpu_frequency(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample, const char *backtrace __maybe_unused) process_sample_cpu_frequency() argument 628 process_sample_sched_wakeup(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample, const char *backtrace) process_sample_sched_wakeup() argument 642 process_sample_sched_switch(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample, const char *backtrace) process_sample_sched_switch() argument 671 process_sample_power_end(struct timechart *tchart, struct evsel *evsel __maybe_unused, struct perf_sample *sample, const char *backtrace __maybe_unused) process_sample_power_end() argument 681 process_sample_power_frequency(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample, const char *backtrace __maybe_unused) process_sample_power_frequency() argument 698 end_sample_processing(struct timechart *tchart) end_sample_processing() argument 730 pid_begin_io_sample(struct timechart *tchart, int pid, int type, u64 start, int fd) pid_begin_io_sample() argument 772 pid_end_io_sample(struct timechart *tchart, int pid, int type, u64 end, long ret) pid_end_io_sample() argument 851 process_enter_read(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_read() argument 861 process_exit_read(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_read() argument 871 process_enter_write(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_write() argument 881 process_exit_write(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_write() argument 891 process_enter_sync(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_sync() argument 901 process_exit_sync(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_sync() argument 911 process_enter_tx(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_tx() argument 921 process_exit_tx(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_tx() argument 931 process_enter_rx(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_rx() argument 941 process_exit_rx(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_rx() argument 951 process_enter_poll(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_enter_poll() argument 961 process_exit_poll(struct timechart *tchart, struct evsel *evsel, struct perf_sample *sample) process_exit_poll() argument 973 sort_pids(struct timechart *tchart) sort_pids() argument 1019 draw_c_p_states(struct timechart *tchart) draw_c_p_states() argument 1044 draw_wakeups(struct timechart *tchart) draw_wakeups() argument 1112 draw_cpu_usage(struct timechart *tchart) draw_cpu_usage() argument 1140 draw_io_bars(struct timechart *tchart) draw_io_bars() argument 1255 draw_process_bars(struct timechart *tchart) draw_process_bars() argument 1344 determine_display_tasks_filtered(struct timechart *tchart) determine_display_tasks_filtered() argument 1384 determine_display_tasks(struct timechart *tchart, u64 threshold) determine_display_tasks() argument 1460 write_svg_file(struct timechart *tchart, const char *filename) write_svg_file() argument 1519 struct timechart *tchart = data; process_header() local 1541 __cmd_timechart(struct timechart *tchart, const char *output_name) __cmd_timechart() argument 1784 timechart__record(struct timechart *tchart, int argc, const char **argv) timechart__record() argument 1926 struct timechart tchart = { cmd_timechart() local [all...] |