Lines Matching refs:err

253 static int arm_spe_pkt_out_string(int *err, char **buf_p, size_t *blen,
260 if (err && *err)
261 return *err;
268 if (err && !*err)
269 *err = ret;
279 * Set *err to 'ret' to avoid overflow if tries to
282 if (err && !*err)
283 *err = ret;
296 int err = 0;
298 arm_spe_pkt_out_string(&err, &buf, &buf_len, "EV");
301 arm_spe_pkt_out_string(&err, &buf, &buf_len, " EXCEPTION-GEN");
303 arm_spe_pkt_out_string(&err, &buf, &buf_len, " RETIRED");
305 arm_spe_pkt_out_string(&err, &buf, &buf_len, " L1D-ACCESS");
307 arm_spe_pkt_out_string(&err, &buf, &buf_len, " L1D-REFILL");
309 arm_spe_pkt_out_string(&err, &buf, &buf_len, " TLB-ACCESS");
311 arm_spe_pkt_out_string(&err, &buf, &buf_len, " TLB-REFILL");
313 arm_spe_pkt_out_string(&err, &buf, &buf_len, " NOT-TAKEN");
315 arm_spe_pkt_out_string(&err, &buf, &buf_len, " MISPRED");
317 arm_spe_pkt_out_string(&err, &buf, &buf_len, " LLC-ACCESS");
319 arm_spe_pkt_out_string(&err, &buf, &buf_len, " LLC-REFILL");
321 arm_spe_pkt_out_string(&err, &buf, &buf_len, " REMOTE-ACCESS");
323 arm_spe_pkt_out_string(&err, &buf, &buf_len, " ALIGNMENT");
325 arm_spe_pkt_out_string(&err, &buf, &buf_len, " SVE-PARTIAL-PRED");
327 arm_spe_pkt_out_string(&err, &buf, &buf_len, " SVE-EMPTY-PRED");
329 return err;
336 int err = 0;
341 arm_spe_pkt_out_string(&err, &buf, &buf_len, "SVE-OTHER");
344 arm_spe_pkt_out_string(&err, &buf, &buf_len, " EVLEN %d",
348 arm_spe_pkt_out_string(&err, &buf, &buf_len, " FP");
350 arm_spe_pkt_out_string(&err, &buf, &buf_len, " PRED");
352 arm_spe_pkt_out_string(&err, &buf, &buf_len, "OTHER");
353 arm_spe_pkt_out_string(&err, &buf, &buf_len, " %s",
359 arm_spe_pkt_out_string(&err, &buf, &buf_len,
364 arm_spe_pkt_out_string(&err, &buf, &buf_len, " AT");
366 arm_spe_pkt_out_string(&err, &buf, &buf_len, " EXCL");
368 arm_spe_pkt_out_string(&err, &buf, &buf_len, " AR");
373 arm_spe_pkt_out_string(&err, &buf, &buf_len, " SIMD-FP");
376 arm_spe_pkt_out_string(&err, &buf, &buf_len, " GP-REG");
379 arm_spe_pkt_out_string(&err, &buf, &buf_len, " UNSPEC-REG");
382 arm_spe_pkt_out_string(&err, &buf, &buf_len, " NV-SYSREG");
385 arm_spe_pkt_out_string(&err, &buf, &buf_len, " MTE-TAG");
388 arm_spe_pkt_out_string(&err, &buf, &buf_len, " MEMCPY");
391 arm_spe_pkt_out_string(&err, &buf, &buf_len, " MEMSET");
399 arm_spe_pkt_out_string(&err, &buf, &buf_len, " EVLEN %d",
403 arm_spe_pkt_out_string(&err, &buf, &buf_len, " PRED");
405 arm_spe_pkt_out_string(&err, &buf, &buf_len, " SG");
409 arm_spe_pkt_out_string(&err, &buf, &buf_len, "B");
412 arm_spe_pkt_out_string(&err, &buf, &buf_len, " COND");
415 arm_spe_pkt_out_string(&err, &buf, &buf_len, " IND");
420 err = -1;
424 return err;
433 int err = 0;
443 arm_spe_pkt_out_string(&err, &buf, &buf_len,
448 arm_spe_pkt_out_string(&err, &buf, &buf_len,
456 arm_spe_pkt_out_string(&err, &buf, &buf_len,
462 err = -1;
466 return err;
474 int err = 0;
476 arm_spe_pkt_out_string(&err, &buf, &buf_len, "%s %d ", name,
481 arm_spe_pkt_out_string(&err, &buf, &buf_len, "TOT");
484 arm_spe_pkt_out_string(&err, &buf, &buf_len, "ISSUE");
487 arm_spe_pkt_out_string(&err, &buf, &buf_len, "XLAT");
493 return err;
504 int err = 0;
510 arm_spe_pkt_out_string(&err, &buf, &blen, "%s", name);
513 err = arm_spe_pkt_desc_event(packet, buf, buf_len);
516 err = arm_spe_pkt_desc_op_type(packet, buf, buf_len);
520 arm_spe_pkt_out_string(&err, &buf, &blen, "%s %lld", name, payload);
523 err = arm_spe_pkt_desc_addr(packet, buf, buf_len);
526 arm_spe_pkt_out_string(&err, &buf, &blen, "%s 0x%lx el%d",
530 err = arm_spe_pkt_desc_counter(packet, buf, buf_len);
534 err = -1;
539 if (err) {
540 err = 0;
541 arm_spe_pkt_out_string(&err, &buf_orig, &buf_len, "%s 0x%llx (%d)",
545 return err;