| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | sharedbuffer_configuration.py | 132 def log_test(test_name, err_msg=None): argument 133 if err_msg: 134 print("\t%s" % err_msg) 205 err_msg = None 207 err_msg = "Incorrect pool size (got {}, expected {})".format(pool["size"], size) 209 … err_msg = "Incorrect pool threshold type (got {}, expected {})".format(pool["thtype"], thtype) 214 err_msg = "Other pool setup changed as well" 216 pool["sb"]), err_msg) 253 err_msg = None 255 err_msg = "No tc bind for port" [all …]
|
| /linux/tools/tracing/rtla/src/ |
| H A D | timerlat.c | 56 err_msg("BPF actions are not supported in tracefs-only mode\n"); in timerlat_apply_config() 69 err_msg("Failed to set timerlat period\n"); in timerlat_apply_config() 76 err_msg("Failed to set print stack\n"); in timerlat_apply_config() 86 err_msg("Failed to enable timerlat align\n"); in timerlat_apply_config() 93 err_msg("Failed to set timerlat align us\n"); in timerlat_apply_config() 128 err_msg("Could not set /dev/cpu_dma_latency.\n"); in timerlat_enable() 135 err_msg("rtla built without libcpupower, --deepest-idle-state is not supported\n"); in timerlat_enable() 141 err_msg("Could not save cpu idle state.\n"); in timerlat_enable() 145 err_msg("Could not set deepest cpu idle state.\n"); in timerlat_enable() 158 err_msg("Faile in timerlat_enable() [all...] |
| H A D | common.c | 73 err_msg("Failed to apply CPUs config\n"); in common_apply_config() 86 err_msg("Failed to set rtla to the house keeping CPUs\n"); in common_apply_config() 107 err_msg("Failed to set OSNOISE_WORKLOAD option\n"); in common_apply_config() 146 err_msg("Error restarting trace\n"); in common_threshold_handler() 165 err_msg("Could not init osnoise tool\n"); in run_tool() 179 err_msg("Could not apply config\n"); in run_tool() 185 err_msg("Failed to enable %s tracer\n", ops->tracer); in run_tool() 192 err_msg("Failed to set sched parameters\n"); in run_tool() 200 err_msg("Failed to move threads to cgroup\n"); in run_tool() 210 err_msg("Failed to enable the trace instance\n"); in run_tool() [all …]
|
| H A D | trace.c | 27 err_msg("Tracer %s not found!\n", tracer_name); in enable_tracer_by_name() 29 err_msg("Failed to enable the %s tracer\n", tracer_name); in enable_tracer_by_name() 46 err_msg("Oops, error disabling tracer\n"); in disable_tracer() 84 err_msg("Failed to open trace file\n"); in save_trace_to_file() 91 err_msg("Failed to create output file %s\n", filename); in save_trace_to_file() 100 err_msg("Error reading trace file: %s\n", strerror(errno)); in save_trace_to_file() 113 err_msg("Error writing trace file: %s\n", strerror(errno)); 350 err_msg("Error disabling %s:%s filter %s\n", tevent->system, in trace_event_disable_filter() 385 err_msg(" Failed to create %s output file\n", path); in trace_event_save_hist() 391 err_msg(" Faile in trace_event_save_hist() [all...] |
| H A D | utils.c | 28 * err_msg - print an error message to the stderr 30 void err_msg(const char *fmt, ...) in err_msg() 295 err_msg("Failed to set sched attributes to the pid %d: %s\n", in procfs_is_workload_pid() 374 err_msg("Command prefix is too long: %d < strlen(%s)\n", 381 err_msg("Could not open procfs\n"); in get_long_ns_after_colon() 392 err_msg("'%s' is not a valid pid", proc_entry->d_name); in get_long_after_colon() 399 err_msg("Error setting sched attributes for pid:%s\n", proc_entry->d_name); in get_long_after_colon() 559 err_msg("Error opening /dev/cpu_dma_latency\n"); in save_cpu_idle_disable_state() 565 err_msg("Error setting /dev/cpu_dma_latency\n"); in save_cpu_idle_disable_state() 841 err_msg("Di in set_pid_cgroup() 29 void err_msg(const char *fmt, ...) err_msg() function [all...] |
| H A D | osnoise.c | 106 err_msg("could not restore original osnoise cpus\n"); in osnoise_restore_cpus() 326 err_msg("Could not restore original osnoise runtime/period\n"); in osnoise_restore_runtime_period() 407 err_msg("Could not restore original osnoise timerlat_period_us\n"); in osnoise_restore_timerlat_period_us() 487 err_msg("Could not restore original osnoise timerlat_align_us\n"); in osnoise_restore_stop_us() 566 err_msg("Could not restore original osnoise stop_us\n"); in osnoise_restore_stop_total_us() 646 err_msg("Could not restore original osnoise stop_total_us\n"); in osnoise_restore_print_stack() 725 err_msg("Could not restore original osnoise print_stack\n"); in osnoise_restore_tracing_thresh() 804 err_msg("Could not restore original tracing_thresh\n"); in osnoise_set_irq_disable() 914 err_msg("Could not restore original OSNOISE_IRQ_DISABLE option\n"); 975 err_msg("Coul in osnoise_put_context() [all...] |
| H A D | timerlat_u.c | 67 err_msg("Error setting timerlat u cgroup pid\n"); in timerlat_u_main() 114 err_msg("Error killing child process %d\n", procs[i]); in timerlat_u_send_kill() 204 err_msg("Failed to monitor child processes"); in timerlat_u_dispatcher()
|
| H A D | actions.c | 257 err_msg("Error saving trace\n"); in actions_perform() 268 err_msg("Error sending signal\n");
|
| H A D | timerlat_aa.c | 736 err_msg("Error iterating on events\n"); in timerlat_auto_analysis() 968 err_msg("Could not find osnoise events\n"); in timerlat_aa_register_events() 995 err_msg("Could not find sched_switch\n"); in timerlat_aa_register_events() 1004 err_msg("Could not find workqueue_execute_start\n"); in timerlat_aa_destroy()
|
| H A D | utils.h | 44 void err_msg(const char *fmt, ...);
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | spin_lock.c | 13 const char *err_msg; member 77 static void test_spin_lock_fail_prog(const char *prog_name, const char *err_msg) in test_spin_lock_fail_prog() 106 ret = match_regex(err_msg, log_buf); in test_spin_lock_fail_prog() 111 fprintf(stderr, "Expected: %s\n", err_msg); in test_spin_lock_fail_prog() 173 spin_lock_fail_tests[i].err_msg); 73 test_spin_lock_fail_prog(const char * prog_name,const char * err_msg) test_spin_lock_fail_prog() argument
|
| H A D | bpf_nf.c | 14 const char *err_msg; member 163 static void test_bpf_nf_ct_fail(const char *prog_name, const char *err_msg) in test_bpf_nf_ct_fail() argument 186 if (!ASSERT_OK_PTR(strstr(log_buf, err_msg), "expected error message")) { in test_bpf_nf_ct_fail() 187 fprintf(stderr, "Expected: %s\n", err_msg); in test_bpf_nf_ct_fail() 205 test_bpf_nf_fail_tests[i].err_msg); in test_bpf_nf()
|
| H A D | linked_list.c | 16 const char *err_msg; member 103 static void test_linked_list_fail_prog(const char *prog_name, const char *err_msg) in test_linked_list_fail_prog() argument 126 if (!ASSERT_OK_PTR(strstr(log_buf, err_msg), "expected error message")) { in test_linked_list_fail_prog() 127 fprintf(stderr, "Expected: %s\n", err_msg); in test_linked_list_fail_prog() 800 linked_list_fail_tests[i].err_msg); in test_linked_list()
|
| /linux/tools/verification/rv/src/ |
| H A D | in_kernel.c | 108 err_msg("ikm: fail read enabled: %d\n", enabled); in ikm_read_enable() 132 err_msg("ikm: writing enabled: %s\n", enable_disable); in ikm_write_enable() 173 err_msg("ikm: error reading monitor %s desc\n", monitor_name); in ikm_read_desc() 214 err_msg("ikm: monitor %s fail to read enable file, bug?\n", name); in ikm_fill_monitor_definition() 220 err_msg("ikm: monitor %s does not have desc file, bug?\n", name); in ikm_fill_monitor_definition() 265 err_msg("ikm: fail reading monitor's %s reactors file\n", monitor_name); 325 err_msg("ikm: fail reading monitor's %s format event file\n", monitor_name); in ikm_has_id() 354 err_msg("ikm: available monitors is not available, is CONFIG_RV enabled?\n"); in ikm_list_monitors() 365 err_msg("ikm: error reading %d in kernel monitor, skipping\n", curr); in ikm_list_monitors() 605 err_msg("ik in ikm_setup_trace_instance() [all...] |
| H A D | utils.c | 19 void err_msg(const char *fmt, ...) in err_msg() function
|
| H A D | rv.c | 129 err_msg("rv: monitor %s does not exist\n", monitor_name); in rv_mon()
|
| /linux/drivers/mtd/ubi/ |
| H A D | gluebi.c | 30 #define err_msg(fmt, ...) \ macro 323 err_msg("gluebi MTD device %d form UBI device %d volume %d already exists", in gluebi_create() 328 err_msg("cannot add MTD device"); in gluebi_create() 357 err_msg("got remove notification for unknown UBI device %d volume %d", in gluebi_remove() 371 err_msg("cannot remove fake MTD device %d, UBI device %d, volume %d, error %d", in gluebi_remove() 402 err_msg("got update notification for unknown UBI device %d volume %d", in gluebi_updated() 429 err_msg("got update notification for unknown UBI device %d volume %d", in gluebi_resized() 487 err_msg("error %d while removing gluebi MTD device %d, UBI device %d, volume %d - ignoring", in ubi_gluebi_exit()
|
| /linux/arch/um/drivers/ |
| H A D | mconsole_kern.c | 502 char *ptr = req->request.data, *err_msg = ""; in mconsole_remove() local 519 err_msg = "Couldn't parse device number"; in mconsole_remove() 525 err_msg = error; in mconsole_remove() 529 err_msg = NULL; in mconsole_remove() 530 err = (*dev->remove)(n, &err_msg); in mconsole_remove() 533 err_msg = ""; in mconsole_remove() 536 if (err_msg == NULL) in mconsole_remove() 537 err_msg = "Device doesn't exist"; in mconsole_remove() 540 if (err_msg == NULL) in mconsole_remove() 541 err_msg = "Device is currently open"; in mconsole_remove() [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | pio.c | 604 const char *err_msg = NULL; in pio_rx_frame() local 668 err_msg = "len > 0x700"; in pio_rx_frame() 672 err_msg = "len == 0"; in pio_rx_frame() 688 err_msg = "Frame FCS error"; in pio_rx_frame() 699 err_msg = "Out of memory"; in pio_rx_frame() 752 if (err_msg) in pio_rx_frame() 753 b43dbg(q->dev->wl, "PIO RX error: %s\n", err_msg); in pio_rx_frame()
|
| /linux/tools/perf/jvmti/ |
| H A D | libjvmti.c | 22 char *err_msg = NULL; in print_error() local 24 err = (*jvmti)->GetErrorName(jvmti, ret, &err_msg); in print_error() 26 warnx("%s failed with %s", msg, err_msg); in print_error() 27 (*jvmti)->Deallocate(jvmti, (unsigned char *)err_msg); in print_error()
|
| /linux/tools/verification/rv/include/ |
| H A D | utils.h | 6 void err_msg(const char *fmt, ...);
|
| /linux/tools/testing/selftests/mqueue/ |
| H A D | mq_open_tests.c | 61 static inline void __set(FILE *stream, int value, char *err_msg); 71 static inline void __set(FILE *stream, int value, char *err_msg) in __set() argument 75 perror(err_msg); in __set()
|
| /linux/net/ethtool/ |
| H A D | module_fw.h | 63 char *err_msg, char *sub_err_msg);
|
| H A D | cmis.h | 80 char *err_msg; member
|
| /linux/kernel/trace/ |
| H A D | trace_dynevent.c | 153 static const char *err_msg[] = {"No matching dynamic event type"}; in create_dyn_event() local 156 tracing_log_err(NULL, "dynevent", raw_command, err_msg, in create_dyn_event()
|