Lines Matching refs:snprintf
173 snprintf(buf, size, "%"PRIu64, value); in print_id_unsigned()
175 snprintf(buf, size, "%"PRIu64" (%s)", value, s); in print_id_unsigned()
181 snprintf(buf, size, "%#"PRIx64, value); in print_id_hex()
183 snprintf(buf, size, "%#"PRIx64" (%s)", value, s); in print_id_hex()
197 snprintf(buf, size, "%#"PRIx64, config); in __p_config_hw_id()
199 snprintf(buf, size, "%#"PRIx64" (%s/config=%#"PRIx64"/)", config, pmu->name, in __p_config_hw_id()
204 snprintf(buf, size, "%#"PRIx64" (%s)", config, name); in __p_config_hw_id()
206 snprintf(buf, size, "%#"PRIx64" (%s/%s/)", config, pmu->name, name); in __p_config_hw_id()
225 snprintf(buf, size, "%#"PRIx64, config); in __p_config_hw_cache_id()
227 snprintf(buf, size, "%#"PRIx64" (%s/config=%#"PRIx64"/)", config, pmu->name, in __p_config_hw_cache_id()
232 snprintf(buf, size, "%#"PRIx64" (%s | %s | %s)", config, in __p_config_hw_cache_id()
235 snprintf(buf, size, "%#"PRIx64" (%s/%s | %s | %s/)", config, pmu->name, in __p_config_hw_cache_id()
269 #define p_hex(val) snprintf(buf, BUF_SIZE, "%#"PRIx64, (uint64_t)(val))
270 #define p_unsigned(val) snprintf(buf, BUF_SIZE, "%"PRIu64, (uint64_t)(val))
271 #define p_signed(val) snprintf(buf, BUF_SIZE, "%"PRId64, (int64_t)(val))