Lines Matching defs:out
283 goto out;
291 * if it gets sorted out into existing data, so we need
352 out:
360 goto out;
2078 static void print_c2c__display_stats(FILE *out)
2088 fprintf(out, "=================================================\n");
2089 fprintf(out, " Trace Event Information \n");
2090 fprintf(out, "=================================================\n");
2091 fprintf(out, " Total records : %10d\n", stats->nr_entries);
2092 fprintf(out, " Locked Load/Store Operations : %10d\n", stats->locks);
2093 fprintf(out, " Load Operations : %10d\n", stats->load);
2094 fprintf(out, " Loads - uncacheable : %10d\n", stats->ld_uncache);
2095 fprintf(out, " Loads - IO : %10d\n", stats->ld_io);
2096 fprintf(out, " Loads - Miss : %10d\n", stats->ld_miss);
2097 fprintf(out, " Loads - no mapping : %10d\n", stats->ld_noadrs);
2098 fprintf(out, " Load Fill Buffer Hit : %10d\n", stats->ld_fbhit);
2099 fprintf(out, " Load L1D hit : %10d\n", stats->ld_l1hit);
2100 fprintf(out, " Load L2D hit : %10d\n", stats->ld_l2hit);
2101 fprintf(out, " Load LLC hit : %10d\n", stats->ld_llchit + stats->lcl_hitm);
2102 fprintf(out, " Load Local HITM : %10d\n", stats->lcl_hitm);
2103 fprintf(out, " Load Remote HITM : %10d\n", stats->rmt_hitm);
2104 fprintf(out, " Load Remote HIT : %10d\n", stats->rmt_hit);
2105 fprintf(out, " Load Local DRAM : %10d\n", stats->lcl_dram);
2106 fprintf(out, " Load Remote DRAM : %10d\n", stats->rmt_dram);
2107 fprintf(out, " Load MESI State Exclusive : %10d\n", stats->ld_excl);
2108 fprintf(out, " Load MESI State Shared : %10d\n", stats->ld_shared);
2109 fprintf(out, " Load LLC Misses : %10d\n", llc_misses);
2110 fprintf(out, " LLC Misses to Local DRAM : %10.1f%%\n", ((double)stats->lcl_dram/(double)llc_misses) * 100.);
2111 fprintf(out, " LLC Misses to Remote DRAM : %10.1f%%\n", ((double)stats->rmt_dram/(double)llc_misses) * 100.);
2112 fprintf(out, " LLC Misses to Remote cache (HIT) : %10.1f%%\n", ((double)stats->rmt_hit /(double)llc_misses) * 100.);
2113 fprintf(out, " LLC Misses to Remote cache (HITM) : %10.1f%%\n", ((double)stats->rmt_hitm/(double)llc_misses) * 100.);
2114 fprintf(out, " Store Operations : %10d\n", stats->store);
2115 fprintf(out, " Store - uncacheable : %10d\n", stats->st_uncache);
2116 fprintf(out, " Store - no mapping : %10d\n", stats->st_noadrs);
2117 fprintf(out, " Store L1D Hit : %10d\n", stats->st_l1hit);
2118 fprintf(out, " Store L1D Miss : %10d\n", stats->st_l1miss);
2119 fprintf(out, " No Page Map Rejects : %10d\n", stats->nomap);
2120 fprintf(out, " Unable to parse data source : %10d\n", stats->noparse);
2123 static void print_shared_cacheline_info(FILE *out)
2128 fprintf(out, "=================================================\n");
2129 fprintf(out, " Global Shared Cache Line Event Information \n");
2130 fprintf(out, "=================================================\n");
2131 fprintf(out, " Total Shared Cache Lines : %10d\n", c2c.shared_clines);
2132 fprintf(out, " Load HITs on shared lines : %10d\n", stats->load);
2133 fprintf(out, " Fill Buffer Hits on shared lines : %10d\n", stats->ld_fbhit);
2134 fprintf(out, " L1D hits on shared lines : %10d\n", stats->ld_l1hit);
2135 fprintf(out, " L2D hits on shared lines : %10d\n", stats->ld_l2hit);
2136 fprintf(out, " LLC hits on shared lines : %10d\n", stats->ld_llchit + stats->lcl_hitm);
2137 fprintf(out, " Locked Access on shared lines : %10d\n", stats->locks);
2138 fprintf(out, " Store HITs on shared lines : %10d\n", stats->store);
2139 fprintf(out, " Store L1D hits on shared lines : %10d\n", stats->st_l1hit);
2140 fprintf(out, " Total Merged records : %10d\n", hitm_cnt + stats->store);
2146 FILE *out)
2156 hists__fprintf_headers(&c2c_hists->hists, out);
2159 fprintf(out, "\n");
2162 fprintf(out, " -------------------------------------------------------------\n");
2164 fprintf(out, "%s\n", bf);
2165 fprintf(out, " -------------------------------------------------------------\n");
2167 hists__fprintf(&c2c_hists->hists, false, 0, 0, 0, out, false);
2170 static void print_pareto(FILE *out)
2199 print_cacheline(c2c_he->hists, he, &hpp_list, out);
2203 static void print_c2c_info(FILE *out, struct perf_session *session)
2209 fprintf(out, "=================================================\n");
2210 fprintf(out, " c2c details \n");
2211 fprintf(out, "=================================================\n");
2214 fprintf(out, "%-36s: %s\n", first ? " Events" : "", evsel__name(evsel));
2217 fprintf(out, " Cachelines sort on : %s HITMs\n",
2219 fprintf(out, " Cacheline data grouping : %s\n", c2c.cl_sort);
2222 static void perf_c2c__hists_fprintf(FILE *out, struct perf_session *session)
2226 print_c2c__display_stats(out);
2227 fprintf(out, "\n");
2228 print_shared_cacheline_info(out);
2229 fprintf(out, "\n");
2230 print_c2c_info(out, session);
2235 fprintf(out, "\n");
2236 fprintf(out, "=================================================\n");
2237 fprintf(out, " Shared Data Cache Line Table \n");
2238 fprintf(out, "=================================================\n");
2239 fprintf(out, "#\n");
2243 fprintf(out, "\n");
2244 fprintf(out, "=================================================\n");
2245 fprintf(out, " Shared Cache Line Distribution Pareto \n");
2246 fprintf(out, "=================================================\n");
2247 fprintf(out, "#\n");
2249 print_pareto(out);
2355 goto out;
2364 out:
2417 goto out;
2429 out:
2741 goto out;
2746 goto out;
2752 goto out;
2759 goto out;
2765 goto out;
2836 out: