/external/linux-tools-perf/perf-3.12.0/tools/perf/arch/powerpc/util/ |
H A D | header.c | 28 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr));
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/ |
H A D | annotate.c | 43 ret += scnprintf(buf, size, "%s", markup); 44 ret += scnprintf(buf + ret, size - ret, "%6.2f%%", percent); 46 ret += scnprintf(buf + ret, size - ret, "</span>"); 61 return scnprintf(buf, size, "%"PRIx64, start + dl->offset); 79 ret += scnprintf(buf, size, "%s", markup); 80 ret += scnprintf(buf + ret, size - ret, "%s", line); 82 ret += scnprintf(buf + ret, size - ret, "</span>"); 132 ret += scnprintf(s + ret, sizeof(s) - ret, " ");
|
H A D | hists.c | 18 ret += scnprintf(buf, size, markup); 20 ret += scnprintf(buf + ret, size - ret, " %6.2f%%", percent); 23 ret += scnprintf(buf + ret, size - ret, "</span>"); 130 scnprintf(bf, bfsize, "%s", cl->ms.sym->name); 132 scnprintf(bf, bfsize, "%#" PRIx64, cl->ip); 162 scnprintf(buf, sizeof(buf), "%5.2f%%", percent);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-trace.c | 41 return scnprintf(bf, size, "%#lx", arg); 54 #define P_WHENCE(n) case SEEK_##n: return scnprintf(bf, size, #n) 68 return scnprintf(bf, size, "%#x", whence); 81 return scnprintf(bf, size, "NONE"); 84 printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", #n); \ 99 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", prot); 114 printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", #n); \ 143 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); 157 #define P_MADV_BHV(n) case MADV_##n: return scnprintf(bf, size, #n) 188 return scnprintf(b [all...] |
H A D | builtin-diff.c | 261 return scnprintf(buf, size, 274 return scnprintf(buf, size, "%.0F / %.0F", new_period, old_period); 283 return scnprintf(buf, size, 750 scnprintf(pfmt, 20, "%%%d.2f%%%%", dfmt->header_width - 1); 754 return scnprintf(hpp->buf, hpp->size, "%*s", 765 ret = scnprintf(buf, size, fmt, percent); 775 scnprintf(buf, size, "%" PRIu64, he->stat.period); 799 scnprintf(buf, size, "%+4.2F%%", diff); 813 scnprintf(buf, size, "%14.6F", ratio); 827 scnprintf(bu [all...] |
H A D | builtin-kvm.c | 188 scnprintf(decode, 20, "%s", exit_reason); 252 scnprintf(decode, 20, "%#lx:%s", (unsigned long)key->key, 295 scnprintf(decode, 20, "%#llx:%s", (unsigned long long)key->key,
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/arch/x86/util/ |
H A D | header.c | 51 nb = scnprintf(buffer, sz, "%s,%u,%u,%u$", vendor, family, model, step);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | evsel.c | 284 r += scnprintf(bf + r, size - r, "%c", mod); \ 297 r += scnprintf(bf + r, size - r, "%.*s", attr->precise_ip, "ppp"); 313 int r = scnprintf(bf, size, "%s", __perf_evsel__hw_name(evsel->attr.config)); 339 int r = scnprintf(bf, size, "%s", __perf_evsel__sw_name(evsel->attr.config)); 347 r = scnprintf(bf, size, "mem:0x%" PRIx64 ":", addr); 350 r += scnprintf(bf + r, size - r, "r"); 353 r += scnprintf(bf + r, size - r, "w"); 356 r += scnprintf(bf + r, size - r, "x"); 425 return scnprintf(bf, size, "%s-%s-%s", perf_evsel__hw_cache[type][0], 430 return scnprintf(b [all...] |
H A D | annotate.c | 38 return scnprintf(bf, size, "%-6.6s %s", ins->name, ops->raw); 44 if (ins->ops->scnprintf) 45 return ins->ops->scnprintf(ins, bf, size, ops); 91 return scnprintf(bf, size, "%-6.6s %s", ins->name, ops->target.name); 96 return scnprintf(bf, size, "%-6.6s *%" PRIx64, ins->name, ops->target.addr); 101 .scnprintf = call__scnprintf, 126 return scnprintf(bf, size, "%-6.6s %" PRIx64, ins->name, ops->target.offset); 131 .scnprintf = jump__scnprintf, 201 printed = scnprintf(bf, size, "%-6.6s ", ins->name); 216 .scnprintf [all...] |
H A D | color.c | 186 r += scnprintf(bf, size, "%s", color); 189 r += scnprintf(bf + r, size - r, "%s", PERF_COLOR_RESET); 191 r += scnprintf(bf + r, size - r, "%s", trail);
|
H A D | annotate.h | 40 int (*scnprintf)(struct ins *ins, char *bf, size_t size, member in struct:ins_ops
|
H A D | header.c | 298 len = scnprintf(filename, size, "%s%s%s", 314 len = scnprintf(linkname, size, "%s/.build-id/%.2s",
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/arch/ |
H A D | common.c | 79 scnprintf(buf, sizeof(buf), "%s/%s", path, name); 96 scnprintf(buf, sizeof(buf), "%s%s", triplets[i], name);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/ |
H A D | hist.c | 93 return scnprintf(hpp->buf, hpp->size, "%*s", len, _str); \ 129 scnprintf, true); \ 142 return __hpp__fmt(hpp, he, he_get_raw_##_field, fmt, scnprintf, false); \ 250 ret += scnprintf(s + ret, size - ret, "%s", sep ?: " ");
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/ |
H A D | hists.c | 403 printed = scnprintf(bf, bfsize, "%s", cl->ms.sym->name); 405 printed = scnprintf(bf, bfsize, "%#" PRIx64, cl->ip); 408 scnprintf(bf + printed, bfsize - printed, " %s", 616 ret += scnprintf(hpp->buf, hpp->size, "%6.2f%%", percent); 647 ret += scnprintf(hpp->buf, hpp->size, 655 ret += scnprintf(hpp->buf, hpp->size, 670 ret += scnprintf(hpp->buf, hpp->size, 1164 scnprintf(filename, sizeof(filename), "perf.hist.%d", browser->print_seq); 1247 printed = scnprintf(bf, size, 1256 printed += scnprintf(b [all...] |
H A D | annotate.c | 131 printed = scnprintf(bf, sizeof(bf), "%*s ", 143 printed = scnprintf(bf, sizeof(bf), "%" PRIx64 ": ", addr); 148 printed = scnprintf(bf, sizeof(bf), "%*d ", 157 printed = scnprintf(bf, sizeof(bf), "%*" PRIx64 ": ", 160 printed = scnprintf(bf, sizeof(bf), "%*s ", 170 if (dl->ins && dl->ins->ops->scnprintf) {
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/include/linux/ |
H A D | kernel.h | 84 static inline int scnprintf(char * buf, size_t size, const char * fmt, ...) function
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/stdio/ |
H A D | hist.c | 335 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " ");
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | parse-events.c | 1125 scnprintf(events_path, PATH_MAX, "%s/tracing/events", 1144 scnprintf(sys_path, PATH_MAX, "%s/%s",
|