• Home
  • Raw
  • Download

Lines Matching refs:err

253 static int arm_spe_pkt_out_string(int *err, char **buf_p, size_t *blen,  in arm_spe_pkt_out_string()  argument
260 if (err && *err) in arm_spe_pkt_out_string()
261 return *err; in arm_spe_pkt_out_string()
268 if (err && !*err) in arm_spe_pkt_out_string()
269 *err = ret; in arm_spe_pkt_out_string()
282 if (err && !*err) in arm_spe_pkt_out_string()
283 *err = ret; in arm_spe_pkt_out_string()
296 int err = 0; in arm_spe_pkt_desc_event() local
298 arm_spe_pkt_out_string(&err, &buf, &buf_len, "EV"); in arm_spe_pkt_desc_event()
301 arm_spe_pkt_out_string(&err, &buf, &buf_len, " EXCEPTION-GEN"); in arm_spe_pkt_desc_event()
303 arm_spe_pkt_out_string(&err, &buf, &buf_len, " RETIRED"); in arm_spe_pkt_desc_event()
305 arm_spe_pkt_out_string(&err, &buf, &buf_len, " L1D-ACCESS"); in arm_spe_pkt_desc_event()
307 arm_spe_pkt_out_string(&err, &buf, &buf_len, " L1D-REFILL"); in arm_spe_pkt_desc_event()
309 arm_spe_pkt_out_string(&err, &buf, &buf_len, " TLB-ACCESS"); in arm_spe_pkt_desc_event()
311 arm_spe_pkt_out_string(&err, &buf, &buf_len, " TLB-REFILL"); in arm_spe_pkt_desc_event()
313 arm_spe_pkt_out_string(&err, &buf, &buf_len, " NOT-TAKEN"); in arm_spe_pkt_desc_event()
315 arm_spe_pkt_out_string(&err, &buf, &buf_len, " MISPRED"); in arm_spe_pkt_desc_event()
317 arm_spe_pkt_out_string(&err, &buf, &buf_len, " LLC-ACCESS"); in arm_spe_pkt_desc_event()
319 arm_spe_pkt_out_string(&err, &buf, &buf_len, " LLC-REFILL"); in arm_spe_pkt_desc_event()
321 arm_spe_pkt_out_string(&err, &buf, &buf_len, " REMOTE-ACCESS"); in arm_spe_pkt_desc_event()
323 arm_spe_pkt_out_string(&err, &buf, &buf_len, " ALIGNMENT"); in arm_spe_pkt_desc_event()
325 arm_spe_pkt_out_string(&err, &buf, &buf_len, " SVE-PARTIAL-PRED"); in arm_spe_pkt_desc_event()
327 arm_spe_pkt_out_string(&err, &buf, &buf_len, " SVE-EMPTY-PRED"); in arm_spe_pkt_desc_event()
329 return err; in arm_spe_pkt_desc_event()
336 int err = 0; in arm_spe_pkt_desc_op_type() local
341 arm_spe_pkt_out_string(&err, &buf, &buf_len, "SVE-OTHER"); in arm_spe_pkt_desc_op_type()
344 arm_spe_pkt_out_string(&err, &buf, &buf_len, " EVLEN %d", in arm_spe_pkt_desc_op_type()
348 arm_spe_pkt_out_string(&err, &buf, &buf_len, " FP"); in arm_spe_pkt_desc_op_type()
350 arm_spe_pkt_out_string(&err, &buf, &buf_len, " PRED"); in arm_spe_pkt_desc_op_type()
352 arm_spe_pkt_out_string(&err, &buf, &buf_len, "OTHER"); in arm_spe_pkt_desc_op_type()
353 arm_spe_pkt_out_string(&err, &buf, &buf_len, " %s", in arm_spe_pkt_desc_op_type()
359 arm_spe_pkt_out_string(&err, &buf, &buf_len, in arm_spe_pkt_desc_op_type()
364 arm_spe_pkt_out_string(&err, &buf, &buf_len, " AT"); in arm_spe_pkt_desc_op_type()
366 arm_spe_pkt_out_string(&err, &buf, &buf_len, " EXCL"); in arm_spe_pkt_desc_op_type()
368 arm_spe_pkt_out_string(&err, &buf, &buf_len, " AR"); in arm_spe_pkt_desc_op_type()
373 arm_spe_pkt_out_string(&err, &buf, &buf_len, " SIMD-FP"); in arm_spe_pkt_desc_op_type()
376 arm_spe_pkt_out_string(&err, &buf, &buf_len, " GP-REG"); in arm_spe_pkt_desc_op_type()
379 arm_spe_pkt_out_string(&err, &buf, &buf_len, " UNSPEC-REG"); in arm_spe_pkt_desc_op_type()
382 arm_spe_pkt_out_string(&err, &buf, &buf_len, " NV-SYSREG"); in arm_spe_pkt_desc_op_type()
390 arm_spe_pkt_out_string(&err, &buf, &buf_len, " EVLEN %d", in arm_spe_pkt_desc_op_type()
394 arm_spe_pkt_out_string(&err, &buf, &buf_len, " PRED"); in arm_spe_pkt_desc_op_type()
396 arm_spe_pkt_out_string(&err, &buf, &buf_len, " SG"); in arm_spe_pkt_desc_op_type()
400 arm_spe_pkt_out_string(&err, &buf, &buf_len, "B"); in arm_spe_pkt_desc_op_type()
403 arm_spe_pkt_out_string(&err, &buf, &buf_len, " COND"); in arm_spe_pkt_desc_op_type()
406 arm_spe_pkt_out_string(&err, &buf, &buf_len, " IND"); in arm_spe_pkt_desc_op_type()
411 err = -1; in arm_spe_pkt_desc_op_type()
415 return err; in arm_spe_pkt_desc_op_type()
424 int err = 0; in arm_spe_pkt_desc_addr() local
432 arm_spe_pkt_out_string(&err, &buf, &buf_len, in arm_spe_pkt_desc_addr()
437 arm_spe_pkt_out_string(&err, &buf, &buf_len, in arm_spe_pkt_desc_addr()
445 arm_spe_pkt_out_string(&err, &buf, &buf_len, in arm_spe_pkt_desc_addr()
451 err = -1; in arm_spe_pkt_desc_addr()
455 return err; in arm_spe_pkt_desc_addr()
463 int err = 0; in arm_spe_pkt_desc_counter() local
465 arm_spe_pkt_out_string(&err, &buf, &buf_len, "%s %d ", name, in arm_spe_pkt_desc_counter()
470 arm_spe_pkt_out_string(&err, &buf, &buf_len, "TOT"); in arm_spe_pkt_desc_counter()
473 arm_spe_pkt_out_string(&err, &buf, &buf_len, "ISSUE"); in arm_spe_pkt_desc_counter()
476 arm_spe_pkt_out_string(&err, &buf, &buf_len, "XLAT"); in arm_spe_pkt_desc_counter()
482 return err; in arm_spe_pkt_desc_counter()
493 int err = 0; in arm_spe_pkt_desc() local
499 arm_spe_pkt_out_string(&err, &buf, &blen, "%s", name); in arm_spe_pkt_desc()
502 err = arm_spe_pkt_desc_event(packet, buf, buf_len); in arm_spe_pkt_desc()
505 err = arm_spe_pkt_desc_op_type(packet, buf, buf_len); in arm_spe_pkt_desc()
509 arm_spe_pkt_out_string(&err, &buf, &blen, "%s %lld", name, payload); in arm_spe_pkt_desc()
512 err = arm_spe_pkt_desc_addr(packet, buf, buf_len); in arm_spe_pkt_desc()
515 arm_spe_pkt_out_string(&err, &buf, &blen, "%s 0x%lx el%d", in arm_spe_pkt_desc()
519 err = arm_spe_pkt_desc_counter(packet, buf, buf_len); in arm_spe_pkt_desc()
523 err = -1; in arm_spe_pkt_desc()
528 if (err) { in arm_spe_pkt_desc()
529 err = 0; in arm_spe_pkt_desc()
530 arm_spe_pkt_out_string(&err, &buf_orig, &buf_len, "%s 0x%llx (%d)", in arm_spe_pkt_desc()
534 return err; in arm_spe_pkt_desc()