Lines Matching refs:scnprintf

284 			r += scnprintf(bf + r, size - r, "%c", mod);	\  in perf_evsel__add_modifiers()
297 r += scnprintf(bf + r, size - r, "%.*s", attr->precise_ip, "ppp"); in perf_evsel__add_modifiers()
313 int r = scnprintf(bf, size, "%s", __perf_evsel__hw_name(evsel->attr.config)); in perf_evsel__hw_name()
339 int r = scnprintf(bf, size, "%s", __perf_evsel__sw_name(evsel->attr.config)); in perf_evsel__sw_name()
347 r = scnprintf(bf, size, "mem:0x%" PRIx64 ":", addr); in __perf_evsel__bp_name()
350 r += scnprintf(bf + r, size - r, "r"); in __perf_evsel__bp_name()
353 r += scnprintf(bf + r, size - r, "w"); in __perf_evsel__bp_name()
356 r += scnprintf(bf + r, size - r, "x"); in __perf_evsel__bp_name()
425 return scnprintf(bf, size, "%s-%s-%s", perf_evsel__hw_cache[type][0], in __perf_evsel__hw_cache_type_op_res_name()
430 return scnprintf(bf, size, "%s-%s", perf_evsel__hw_cache[type][0], in __perf_evsel__hw_cache_type_op_res_name()
458 return scnprintf(bf, size, "%s", err); in __perf_evsel__hw_cache_name()
469 int ret = scnprintf(bf, size, "raw 0x%" PRIx64, evsel->attr.config); in perf_evsel__raw_name()
498 scnprintf(bf, sizeof(bf), "%s", "unknown tracepoint"); in perf_evsel__name()
506 scnprintf(bf, sizeof(bf), "unknown attr type: %d", in perf_evsel__name()
527 ret = scnprintf(buf, size, "%s", group_name); in perf_evsel__group_desc()
529 ret += scnprintf(buf + ret, size - ret, " { %s", in perf_evsel__group_desc()
533 ret += scnprintf(buf + ret, size - ret, ", %s", in perf_evsel__group_desc()
536 ret += scnprintf(buf + ret, size - ret, " }"); in perf_evsel__group_desc()
1970 scnprintf(msg, msgsize, "%s", in perf_evsel__fallback()
1991 return scnprintf(msg, size, in perf_evsel__open_strerror()
2000 return scnprintf(msg, size, "The %s event is not supported.", in perf_evsel__open_strerror()
2003 return scnprintf(msg, size, "%s", in perf_evsel__open_strerror()
2008 return scnprintf(msg, size, "%s", in perf_evsel__open_strerror()
2013 return scnprintf(msg, size, "%s", in perf_evsel__open_strerror()
2017 return scnprintf(msg, size, "%s", in perf_evsel__open_strerror()
2026 return scnprintf(msg, size, in perf_evsel__open_strerror()