Home
last modified time | relevance | path

Searched refs:emsg (Results 1 – 7 of 7) sorted by relevance

/tools/tracing/latency/
Dlatency-collector.c576 static const char *emsg = "Failed to read the %s file"; in read_file() local
581 warn(emsg, file); in read_file()
585 errx(EXIT_FAILURE, emsg, file); in read_file()
1344 static const char *emsg = "Failed to write to the %s file!"; in write_file() local
1353 warnx(emsg, file); in write_file()
1357 errx(EXIT_FAILURE, emsg, file); in write_file()
/tools/perf/util/
Devlist.c1537 char sbuf[STRERR_BUFSIZE], *emsg = str_error_r(err, sbuf, sizeof(sbuf)); in evlist__strerror_open() local
1544 "Hint:\tCheck /proc/sys/kernel/perf_event_paranoid setting.", emsg); in evlist__strerror_open()
1575 emsg, max_freq, first->core.attr.sample_freq); in evlist__strerror_open()
1580 scnprintf(buf, size, "%s", emsg); in evlist__strerror_open()
1589 char sbuf[STRERR_BUFSIZE], *emsg = str_error_r(err, sbuf, sizeof(sbuf)); in evlist__strerror_mmap() local
1599 emsg, pages_max_per_user, pages_attempted); in evlist__strerror_mmap()
1611 scnprintf(buf, size, "%s", emsg); in evlist__strerror_mmap()
Dbpf-loader.c1666 char sbuf[STRERR_BUFSIZE], *emsg;\
1672 emsg = sbuf;\
1675 scnprintf(buf, size, "%s", emsg);\
1713 scnprintf(buf, size, "%s (add -v to see detail)", emsg); in bpf__strerror_probe()
1771 "%s (Hint: use -i to turn off inherit)", emsg); in bpf__strerror_apply_obj_config()
/tools/perf/
Dbuiltin-ftrace.c672 const char *emsg = str_error_r(workload_exec_errno, buf, sizeof(buf)); in __cmd_ftrace() local
675 pr_err("workload failed: %s\n", emsg); in __cmd_ftrace()
Dbuiltin-stat.c966 const char *emsg = str_error_r(workload_exec_errno, msg, sizeof(msg)); in __run_perf_stat() local
967 pr_err("Workload failed: %s\n", emsg); in __run_perf_stat()
Dbuiltin-record.c1989 const char *emsg = str_error_r(workload_exec_errno, msg, sizeof(msg)); in __cmd_record() local
1994 strevsels, argv[0], emsg); in __cmd_record()
Dbuiltin-trace.c2523 const char *emsg = str_error_r(-ret, bf, sizeof(bf)), local
2526 fprintf(trace->output, "-1 %s (%s)", e, emsg);