errx
errx(1, "%s", USAGE_STR);
errx(1, "Path to cgroup.event_control is too long");
errx(1, "Arguments string is too long");
errx(EXIT_FAILURE, "Usage: %s <cgroup>", argv[0]);
errx(EXIT_FAILURE, "Can't initialize memcg events (%zd)", ret);
errx(1, "fanotify_init");
errx(1, "fanotify_mark");
errx(1, "read");
errx(1, fmt, ## __VA_ARGS__); \
errx(2, "too many symbols");
errx(2, "output may be truncated");
errx(2, "-B and -b are mutually exclusive");
errx(2, "can only do one file");
errx(2, "%s unchanged", filename);
errx(2, "%s unchanged", ofilename);
errx(EXIT_FAILURE, "Invalid input leaf (0x%x)", user_index);
errx(EXIT_FAILURE, "Leaf 0x%x has no valid subleaf = 0x%x",
errx(exit_code, "kcpuid [-abdfhr] [-l leaf] [-s subleaf]\n"
errx(EXIT_FAILURE, "Must be perfectly divisible");
errx(EXIT_FAILURE, "unexpected exit code: %d", status);
errx(EXIT_FAILURE, "unexpected syscall: %d", req.data.nr);
errx(1, "Error: op_close_agent()");
errx(1, "%s: alloc %s", __func__, "fd_perf_per_domain");
errx(1, "%s: %s", __func__, "thread");
errx(1, "%s: %s", __func__, "core");
errx(1, "%s: %s", __func__, "package");
errx(1, "Requested MSR counter 0x%x, but in --no-msr mode", msr_num);
errx(1, "%s: Failed to allocate %s/%s\n", __func__, perf_device, perf_event);
errx(-1, "invalid iteration count: %s", optarg);
errx(-1, "invalid header iteration count: %s", optarg);
errx(-3, "Insanely slow TSC rate, TSC stops in idle?\n"
errx(1, "CPUID: no MSR");
errx(1, "cpu%d: requested hwp-min %d > hwp_max %d", cpu, req->hwp_min, req->hwp_max);
errx(1, "cpu%d: requested hwp-desired %d > hwp_max %d", cpu, req->hwp_desired, req->hwp_max);
errx(1, "cpu%d: requested hwp-desired %d < requested hwp_min %d", cpu, req->hwp_desired, req->hwp_min);
errx(1, "cpu%d: requested max %d > capabilities highest %d, use --force?", cpu, req->hwp_max, cap->highest);
errx(1, "cpu%d: requested max %d < capabilities lowest %d, use --force?", cpu, req->hwp_max, cap->lowest);
errx(1, "cpu%d: requested min %d > capabilities highest %d, use --force?", cpu, req->hwp_min, cap->highest);
errx(1, "cpu%d: requested min %d < capabilities lowest %d, use --force?", cpu, req->hwp_min, cap->lowest);
errx(1, "cpu%d: requested min %d > requested max %d", cpu, req->hwp_min, req->hwp_max);
errx(1, "cpu%d: requested desired %d > requested max %d, use --force?", cpu, req->hwp_desired, req->hwp_max);
errx(1, "cpu%d: requested desired %d < requested min %d, use --force?", cpu, req->hwp_desired, req->hwp_min);
errx(1, "cpu%d: requested desired %d < capabilities lowest %d, use --force?", cpu, req->hwp_desired, cap->lowest);
errx(1, "cpu%d: requested desired %d > capabilities highest %d, use --force?", cpu, req->hwp_desired, cap->highest);
errx(1, "%s: failed to parse", pathname);
errx(1, "cpu%d: %d >= MAX_PACKAGES (%d)", cpu, pkg, MAX_PACKAGES);
errx(1, "Processor not supported\n");
errx(1, "CPUID: no MSR");
errx(1, "--hwp-use-pkg is not available on this hardware");
errx(1, "EPB not enabled on this platform");
errx(1, "--epb must be from 0 to 15");
errx(-1, "%s", s);
errx(-1, "%d (0x%x) must be < 256", i, i);
errx(-1, "%d (0x%x) must be >= 0", i, i);
errx(0, "no CPUs requested");
errx(1, "Requested cpu%d is not present", cpu);
errx(1, "--cpu | --pkg");
errx(1, "Requested cpu%d exceeds max cpu%d", cpu, max_cpu_num);
errx(1, "--cpu cpu-set: confused by '%s'", startp);
errx(1, "Requested cpu%d exceeds max cpu%d", cpu, max_cpu_num);
errx(1, "--pkg | --cpu");
errx(1, "Requested pkg%d exceeds max pkg%d", pkg, max_pkg_num);
errx(1, "Requested pkg%d Exceeds max pkg%d", pkg, max_pkg_num);
errx(1, "--platform-profile: value too long");
errx(1, "Can not update platform-profile in '%s'", PATH_PLATFORM_PROFILE);
errx(1, "--soc-slider-offset: invalid value");
errx(1, "Unable to write SOC Slider Offset");
errx(1, "--soc-slider-balance: invalid value");
errx(1, "Unable to write SOC Slider-Balance in '%s'", PATH_SOC_SLIDER_BALANCE);
errx(1, "openat succeeded, expected EACCES");
errx(1, "got unexpected pid in event\n");
errx(1, "got unexpected event type %d\n", si.si_code);
errx(1, "helper thread got bad command");
errx(1, "got unexpected pid in event\n");
errx(1, "got unexpected event type %d\n", si.si_code);
errx(1, "stack16 is too high\n");
errx(1, "int3 is too high\n");
errx(1, "mremap malfunctioned: asked for %p but got %p\n",
errx(1, "[FAIL]\tSyscall trampoline returned");
errx(EXIT_FAILURE, "Failed to read the %s file\n", TR_OPTIONS);
errx(EXIT_FAILURE, emsg, file);
errx(EXIT_FAILURE,
errx(EXIT_FAILURE, "%s", no_tracer_msg);
errx(EXIT_FAILURE,
errx(EXIT_FAILURE,
errx(EXIT_FAILURE,
errx(EXIT_FAILURE, emsg, file);
errx(EXIT_FAILURE, "%s", no_tracer_msg);
errx(1, "Could not set affinity to cpu %u", first_cpu);
errx(1, "vringh_need_notify_user: %i",
errx(1, "vringh_get_head");
errx(1, "vringh_need_notify_user: %i",
errx(1, "vringh_getdesc_user: %i", err);
errx(1, "vringh_iov_pull_user: %i",
errx(1, "vringh_iov_push_user: %i",
errx(1, "vringh_complete_user: %i", err);
errx(1, "vringh_need_notify_user: %i", err);
errx(1, "Child died with signal %i?", WTERMSIG(status));
errx(1, "Child exited %i?", WEXITSTATUS(status));
errx(1, "virtqueue_add_in/outbuf: %i", err);
errx(1, "Unknown arg %s", argv[1]);
errx(1, "vringh_getdesc_user: %i", err);
errx(1, "virtqueue_add_sgs: %i", err);
errx(1, "vringh_getdesc_user: %i", err);
errx(1, "vringh_iov_pull_user: %i", err);
errx(1, "vringh_iov_push_user: %i", err);
errx(1, "vringh_complete_user: %i", err);
errx(1, "virtqueue_get_buf: %p", ret);
errx(1, "virtqueue_add_outbuf (large): %i", err);
errx(1, "vringh_getdesc_user: %i", err);
errx(1, "vringh_iov_pull_user large: %i", err);
errx(1, "vringh_complete_multi_user(1): %i", err);
errx(1, "virtqueue_get_buf: %p", ret);
errx(1, "virtqueue_add_outbuf (multiple): %i", err);
errx(1, "vringh_getdesc_user: %i", err);
errx(1, "vringh_complete_multi_user: %i", err);
errx(1, "virtqueue_add_outbuf (indirect): %i", err);
errx(1, "vringh_getdesc_user: %i", err);
errx(1, "vringh_getdesc_user: head %i not 0", head);