Lines Matching refs:con
1713 static void print_lock_stat_stdio(struct lock_contention *con, struct lock_stat *st) in print_lock_stat_stdio() argument
1753 sym = machine__find_kernel_symbol(con->machine, ip, &kmap); in print_lock_stat_stdio()
1760 static void print_lock_stat_csv(struct lock_contention *con, struct lock_stat *st, in print_lock_stat_csv() argument
1803 sym = machine__find_kernel_symbol(con->machine, ip, &kmap); in print_lock_stat_csv()
1811 static void print_lock_stat(struct lock_contention *con, struct lock_stat *st) in print_lock_stat() argument
1814 print_lock_stat_csv(con, st, symbol_conf.field_sep); in print_lock_stat()
1816 print_lock_stat_stdio(con, st); in print_lock_stat()
1878 static void print_contention_result(struct lock_contention *con) in print_contention_result() argument
1896 print_lock_stat(con, st); in print_contention_result()
1911 total += con->nr_filtered; in print_contention_result()
1913 print_footer(total, bad, &con->fails); in print_contention_result()
2050 struct lock_contention con = { in __cmd_contention() local
2064 con.result = &lockhash_table[0]; in __cmd_contention()
2074 con.machine = &session->machines.host; in __cmd_contention()
2076 con.aggr_mode = aggr_mode = show_thread_stats ? LOCK_AGGR_TASK : in __cmd_contention()
2079 if (con.aggr_mode == LOCK_AGGR_CALLER) in __cmd_contention()
2080 con.save_callstack = true; in __cmd_contention()
2099 con.evlist = evlist__new(); in __cmd_contention()
2100 if (con.evlist == NULL) { in __cmd_contention()
2105 err = evlist__create_maps(con.evlist, &target); in __cmd_contention()
2110 err = evlist__prepare_workload(con.evlist, &target, in __cmd_contention()
2116 if (lock_contention_prepare(&con) < 0) { in __cmd_contention()
2155 evlist__start_workload(con.evlist); in __cmd_contention()
2161 lock_contention_read(&con); in __cmd_contention()
2171 print_contention_result(&con); in __cmd_contention()
2175 evlist__delete(con.evlist); in __cmd_contention()