Home
last modified time | relevance | path

Searched refs:err_msg (Results 1 – 25 of 63) sorted by relevance

123

/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsharedbuffer_configuration.py132 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)
209err_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 Dtimerlat.c53 err_msg("BPF actions are not supported in tracefs-only mode\n"); in timerlat_apply_config()
66 err_msg("Failed to set timerlat period\n"); in timerlat_apply_config()
73 err_msg("Failed to set print stack\n"); in timerlat_apply_config()
107 err_msg("Could not set /dev/cpu_dma_latency.\n"); in timerlat_enable()
114 err_msg("rtla built without libcpupower, --deepest-idle-state is not supported\n"); in timerlat_enable()
122 err_msg("Could not save cpu idle state.\n"); in timerlat_enable()
126 err_msg("Could not set deepest cpu idle state.\n"); in timerlat_enable()
139 err_msg("Failed to enable the auto analysis instance\n"); in timerlat_enable()
145 err_msg("Failed to enable aa tracer\n"); in timerlat_enable()
173 err_msg("Error attaching BPF program\n"); in timerlat_enable()
H A Dcommon.c133 err_msg("Failed to apply CPUs config\n"); in common_apply_config()
146 err_msg("Failed to set rtla to the house keeping CPUs\n"); in common_apply_config()
167 err_msg("Failed to set OSNOISE_WORKLOAD option\n"); in common_apply_config()
192 err_msg("Could not init osnoise tool\n"); in run_tool()
207 err_msg("Could not apply config\n"); in run_tool()
213 err_msg("Failed to enable %s tracer\n", ops->tracer); in run_tool()
220 err_msg("Failed to set sched parameters\n"); in run_tool()
228 err_msg("Failed to move threads to cgroup\n"); in run_tool()
238 err_msg("Failed to enable the trace instance\n"); in run_tool()
275 err_msg("Error creating timerlat user-space threads\n"); in run_tool()
[all …]
H A Dtrace.c27 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()
82 err_msg("Failed to open trace file\n"); in save_trace_to_file()
89 err_msg("Failed to create output file %s\n", filename); in save_trace_to_file()
349 err_msg("Error disabling %s:%s filter %s\n", tevent->system, in trace_event_disable_filter()
384 err_msg(" Failed to create %s output file\n", path); in trace_event_save_hist()
390 err_msg(" Failed to read %s:%s hist file\n", tevent->system, tevent->event); in trace_event_save_hist()
429 err_msg("Error disabling %s:%s trigger %s\n", tevent->system, in trace_event_disable_trigger()
470 err_msg("Filter %s applies only for single events, not for all %s:* events\n", in trace_event_enable_filter()
[all …]
H A Dutils.c30 void err_msg(const char *fmt, ...) in err_msg() function
265 err_msg("Failed to set sched attributes to the pid %d: %s\n", in __set_sched_attr()
345 err_msg("Command prefix is too long: %d < strlen(%s)\n", in set_comm_sched_attr()
352 err_msg("Could not open procfs\n"); in set_comm_sched_attr()
363 err_msg("'%s' is not a valid pid", proc_entry->d_name); in set_comm_sched_attr()
369 err_msg("Error setting sched attributes for pid:%s\n", proc_entry->d_name); in set_comm_sched_attr()
529 err_msg("Error opening /dev/cpu_dma_latency\n"); in set_cpu_dma_latency()
535 err_msg("Error setting /dev/cpu_dma_latency\n"); in set_cpu_dma_latency()
815 err_msg("Did not find cgroupv2 mount point\n"); in open_cgroup_procs()
823 err_msg("Did not find self cgroup\n"); in open_cgroup_procs()
[all …]
H A Dosnoise.c104 err_msg("could not restore original osnoise cpus\n"); in osnoise_restore_cpus()
324 err_msg("Could not restore original osnoise runtime/period\n"); in osnoise_restore_runtime_period()
405 err_msg("Could not restore original osnoise timerlat_period_us\n"); in osnoise_restore_timerlat_period_us()
484 err_msg("Could not restore original osnoise stop_us\n"); in osnoise_restore_stop_us()
564 err_msg("Could not restore original osnoise stop_total_us\n"); in osnoise_restore_stop_total_us()
643 err_msg("Could not restore original osnoise print_stack\n"); in osnoise_restore_print_stack()
722 err_msg("Could not restore original tracing_thresh\n"); in osnoise_restore_tracing_thresh()
832 err_msg("Could not restore original OSNOISE_IRQ_DISABLE option\n"); in osnoise_restore_irq_disable()
893 err_msg("Could not restore original OSNOISE_WORKLOAD option\n"); in osnoise_restore_workload()
1054 err_msg("Could not find osnoise events\n"); in osnoise_init_trace_tool()
[all …]
H A Dtimerlat_bpf.c212 err_msg("Failed to open BPF action program: %s\n", program_path); in timerlat_load_bpf_action_program()
218 err_msg("Failed to load BPF action program: %s\n", program_path); in timerlat_load_bpf_action_program()
224 err_msg("BPF action program must have 'action_handler' function: %s\n", in timerlat_load_bpf_action_program()
231 err_msg("Failed to register BPF action program: %s\n", program_path); in timerlat_load_bpf_action_program()
H A Dtimerlat_u.c67 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()
205 err_msg("Failed to monitor child processes"); in timerlat_u_dispatcher()
/linux/net/ethtool/
H A Dcmis_cdb.c40 args->err_msg = NULL; in ethtool_cmis_cdb_compose_args()
199 args.err_msg); in cmis_cdb_validate_password()
260 args.err_msg); in cmis_cdb_module_features_get()
427 args->err_msg = "Completion Flag did not set on time"; in cmis_cdb_wait_for_completion()
434 static void cmis_cdb_status_fail_msg_get(u8 status, char **err_msg) in cmis_cdb_status_fail_msg_get() argument
438 *err_msg = "CDB Status is in progress: Busy capturing command"; in cmis_cdb_status_fail_msg_get()
441 *err_msg = in cmis_cdb_status_fail_msg_get()
445 *err_msg = "CDB Status is in progress: Busy executing"; in cmis_cdb_status_fail_msg_get()
448 *err_msg = "CDB status failed: no specific failure"; in cmis_cdb_status_fail_msg_get()
451 *err_msg = in cmis_cdb_status_fail_msg_get()
[all …]
H A Dmodule.c446 ethnl_module_fw_flash_ntf_put_err(struct sk_buff *skb, char *err_msg, in ethnl_module_fw_flash_ntf_put_err() argument
452 if (!err_msg) in ethnl_module_fw_flash_ntf_put_err()
455 err_msg_len = strlen(err_msg); in ethnl_module_fw_flash_ntf_put_err()
469 sprintf(nla_data(attr), "%s, %s.", err_msg, sub_err_msg); in ethnl_module_fw_flash_ntf_put_err()
471 sprintf(nla_data(attr), "%s.", err_msg); in ethnl_module_fw_flash_ntf_put_err()
480 char *err_msg, char *sub_err_msg, in ethnl_module_fw_flash_ntf() argument
507 ret = ethnl_module_fw_flash_ntf_put_err(skb, err_msg, sub_err_msg); in ethnl_module_fw_flash_ntf()
527 char *err_msg, char *sub_err_msg) in ethnl_module_fw_flash_ntf_err() argument
530 params, err_msg, sub_err_msg, 0, 0); in ethnl_module_fw_flash_ntf_err()
H A Dcmis_fw_update.c70 args.err_msg); in cmis_fw_update_fw_mng_features_get()
143 args.err_msg); in cmis_fw_update_start_download()
204 args.err_msg); in cmis_fw_update_write_image_lpl()
265 args.err_msg); in cmis_fw_update_write_image_epl()
293 args.err_msg); in cmis_fw_update_complete_download()
382 args.err_msg); in cmis_fw_update_run_image()
414 args.err_msg); in cmis_fw_update_commit_image()
/linux/tools/verification/rv/src/
H A Din_kernel.c106 err_msg("ikm: fail read enabled: %d\n", enabled); in ikm_read_enable()
130 err_msg("ikm: writing enabled: %s\n", enable_disable); in ikm_write_enable()
171 err_msg("ikm: error reading monitor %s desc\n", monitor_name); in ikm_read_desc()
208 err_msg("ikm: monitor %s fail to read enable file, bug?\n", name); in ikm_fill_monitor_definition()
214 err_msg("ikm: monitor %s does not have desc file, bug?\n", name); in ikm_fill_monitor_definition()
258 err_msg("ikm: fail reading monitor's %s reactors file\n", monitor_name); in ikm_read_reactor()
318 err_msg("ikm: fail reading monitor's %s format event file\n", monitor_name); in ikm_has_id()
347 err_msg("ikm: available monitors is not available, is CONFIG_RV enabled?\n"); in ikm_list_monitors()
358 err_msg("ikm: error reading %d in kernel monitor, skipping\n", curr); in ikm_list_monitors()
598 err_msg("ikm: failed to allocate trace instance"); in ikm_setup_trace_instance()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dspin_lock.c13 const char *err_msg; member
76 static void test_spin_lock_fail_prog(const char *prog_name, const char *err_msg) in test_spin_lock_fail_prog() argument
105 ret = match_regex(err_msg, log_buf); in test_spin_lock_fail_prog()
110 fprintf(stderr, "Expected: %s\n", err_msg); in test_spin_lock_fail_prog()
172 spin_lock_fail_tests[i].err_msg); in test_spin_lock()
H A Dsummarization.c17 const char *err_msg) in test_aux() argument
71 ASSERT_HAS_SUBSTR(log, err_msg, "error log"); in test_aux()
118 const char *err_msg; in test_summarization_freplace() member
140 replacements[t][j].err_msg); in test_summarization_freplace()
H A Dcb_refs.c12 const char *err_msg; member
42 if (!ASSERT_OK_PTR(strstr(log_buf, cb_refs_tests[i].err_msg), "expected error message")) { in test_cb_refs()
43 fprintf(stderr, "Expected: %s\n", cb_refs_tests[i].err_msg); in test_cb_refs()
H A Dbpf_nf.c12 const char *err_msg; member
157 static void test_bpf_nf_ct_fail(const char *prog_name, const char *err_msg) in test_bpf_nf_ct_fail()
180 if (!ASSERT_OK_PTR(strstr(log_buf, err_msg), "expected error message")) { in test_bpf_nf_ct_fail()
181 fprintf(stderr, "Expected: %s\n", err_msg); in test_bpf_nf_ct_fail()
199 test_bpf_nf_fail_tests[i].err_msg);
154 test_bpf_nf_ct_fail(const char * prog_name,const char * err_msg) test_bpf_nf_ct_fail() argument
/linux/drivers/mtd/ubi/
H A Dgluebi.c30 #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/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_devlink.c325 char *err_msg; in fbnic_devlink_flash_update() local
335 err_msg = "Invalid image"; in fbnic_devlink_flash_update()
338 err_msg = "Unsupported image"; in fbnic_devlink_flash_update()
341 err_msg = "Out of memory"; in fbnic_devlink_flash_update()
344 err_msg = "Invalid header"; in fbnic_devlink_flash_update()
347 err_msg = "No matching record"; in fbnic_devlink_flash_update()
350 err_msg = "No matching device"; in fbnic_devlink_flash_update()
353 err_msg = "Timed out waiting for reply"; in fbnic_devlink_flash_update()
356 err_msg = "Unknown error"; in fbnic_devlink_flash_update()
362 err_msg, err); in fbnic_devlink_flash_update()
/linux/arch/um/drivers/
H A Dmconsole_kern.c502 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/platform/x86/intel/int3472/
H A Ddiscrete.c288 const char *err_msg; in skl_int3472_handle_gpio_resources() local
334 err_msg = "Failed to map GPIO pin to sensor\n"; in skl_int3472_handle_gpio_resources()
345 err_msg = "Failed to get GPIO\n"; in skl_int3472_handle_gpio_resources()
353 err_msg = "Failed to register clock\n"; in skl_int3472_handle_gpio_resources()
359 err_msg = "Failed to register LED\n"; in skl_int3472_handle_gpio_resources()
370 err_msg = "Failed to register regulator\n"; in skl_int3472_handle_gpio_resources()
394 return dev_err_probe(int3472->dev, ret, err_msg); in skl_int3472_handle_gpio_resources()
/linux/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c45 static void err_msg(char *msg) in err_msg() function
275 err_msg("Unable to create logfile\n"); in start_verification_log()
655 err_msg("Failed shmget\n"); in main()
660 err_msg("Failed shmat"); in main()
665 err_msg("Failed shmat"); in main()
671 err_msg("Failed mkdir"); in main()
702 err_msg("Failed signal handler registration\n"); in main()
/linux/drivers/net/ethernet/3com/
H A Dtyphoon.c2302 const char *err_msg; in typhoon_init_one() local
2306 err_msg = "unable to alloc new net device"; in typhoon_init_one()
2314 err_msg = "unable to enable device"; in typhoon_init_one()
2320 err_msg = "unable to set MWI"; in typhoon_init_one()
2326 err_msg = "No usable DMA configuration"; in typhoon_init_one()
2333 err_msg = "region #1 not a PCI IO resource, aborting"; in typhoon_init_one()
2338 err_msg = "Invalid PCI IO region size, aborting"; in typhoon_init_one()
2343 err_msg = "region #1 not a PCI MMIO resource, aborting"; in typhoon_init_one()
2348 err_msg = "Invalid PCI MMIO region size, aborting"; in typhoon_init_one()
2355 err_msg = "could not request regions"; in typhoon_init_one()
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A Dpio.c604 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 Dlibjvmti.c22 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/drivers/media/platform/qcom/venus/
H A Dcore.c92 const char *err_msg = ""; in venus_sys_error_handler() local
97 err_msg = "resume runtime PM"; in venus_sys_error_handler()
133 err_msg = "resume runtime PM"; in venus_sys_error_handler()
139 err_msg = "boot Venus"; in venus_sys_error_handler()
145 err_msg = "resume HFI"; in venus_sys_error_handler()
155 err_msg = "init HFI"; in venus_sys_error_handler()
165 err_msg); in venus_sys_error_handler()

123