Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/
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
214 err_msg = "Other pool setup changed as well"
253 err_msg = None
255 err_msg = "No tc bind for port"
275 err_msg = None
325 err_msg = None
327 err_msg = "No port pool for port"
[all …]
/linux-6.3-rc2/tools/tracing/rtla/src/
A Dtrace.c28 err_msg("Tracer %s not found!\n", tracer_name); in enable_tracer_by_name()
30 err_msg("Failed to enable the %s tracer\n", tracer_name); in enable_tracer_by_name()
47 err_msg("Oops, error disabling tracer\n"); in disable_tracer()
80 err_msg("Failed to open trace file\n"); in save_trace_to_file()
86 err_msg("Failed to create output file %s\n", filename); in save_trace_to_file()
300 err_msg("Error disabling %s:%s filter %s\n", tevent->system, in trace_event_disable_filter()
335 err_msg(" Failed to create %s output file\n", path); in trace_event_save_hist()
380 err_msg("Error disabling %s:%s trigger %s\n", tevent->system, in trace_event_disable_trigger()
434 err_msg("Error enabling %s:%s filter %s\n", tevent->system, in trace_event_enable_filter()
469 err_msg("Error enabling %s:%s trigger %s\n", tevent->system, in trace_event_enable_trigger()
[all …]
A Dtimerlat_top.c409 err_msg("Error alloc trace event"); in timerlat_top_parse_args()
496 err_msg("rtla needs root permission\n"); in timerlat_top_parse_args()
523 err_msg("Failed to apply CPUs config\n"); in timerlat_top_apply_config()
531 err_msg("Failed to set stop us\n"); in timerlat_top_apply_config()
539 err_msg("Failed to set stop total us\n"); in timerlat_top_apply_config()
548 err_msg("Failed to set timerlat period\n"); in timerlat_top_apply_config()
557 err_msg("Failed to set print stack\n"); in timerlat_top_apply_config()
645 err_msg("Could not init osnoise top\n"); in timerlat_top_main()
651 err_msg("Could not apply config\n"); in timerlat_top_main()
666 err_msg("Failed to set sched parameters\n"); in timerlat_top_main()
[all …]
A Dosnoise_top.c406 err_msg("Error alloc trace event"); in osnoise_top_parse_args()
482 err_msg("osnoise needs root permission\n"); in osnoise_top_parse_args()
503 err_msg("Failed to apply CPUs config\n"); in osnoise_top_apply_config()
521 err_msg("Failed to set stop us\n"); in osnoise_top_apply_config()
529 err_msg("Failed to set stop total us\n"); in osnoise_top_apply_config()
537 err_msg("Failed to set tracing_thresh\n"); in osnoise_top_apply_config()
620 err_msg("Could not init osnoise top\n"); in osnoise_top_main()
626 err_msg("Could not apply config\n"); in osnoise_top_main()
634 err_msg("Failed to enable osnoise tracer\n"); in osnoise_top_main()
641 err_msg("Failed to set sched parameters\n"); in osnoise_top_main()
[all …]
A Dosnoise_hist.c230 err_msg("error reading cpu from histogram\n"); in osnoise_read_trace_hist()
568 err_msg("Error alloc trace event"); in osnoise_hist_parse_args()
658 err_msg("rtla needs root permission\n"); in osnoise_hist_parse_args()
682 err_msg("Failed to apply CPUs config\n"); in osnoise_hist_apply_config()
700 err_msg("Failed to set stop us\n"); in osnoise_hist_apply_config()
708 err_msg("Failed to set stop total us\n"); in osnoise_hist_apply_config()
716 err_msg("Failed to set tracing_thresh\n"); in osnoise_hist_apply_config()
789 err_msg("Could not init osnoise hist\n"); in osnoise_hist_main()
795 err_msg("Could not apply config\n"); in osnoise_hist_main()
803 err_msg("Failed to enable osnoise tracer\n"); in osnoise_hist_main()
[all …]
A Dtimerlat_hist.c580 err_msg("Error alloc trace event"); in timerlat_hist_parse_args()
681 err_msg("rtla needs root permission\n"); in timerlat_hist_parse_args()
708 err_msg("Failed to apply CPUs config\n"); in timerlat_hist_apply_config()
716 err_msg("Failed to set stop us\n"); in timerlat_hist_apply_config()
724 err_msg("Failed to set stop total us\n"); in timerlat_hist_apply_config()
732 err_msg("Failed to set timerlat period\n"); in timerlat_hist_apply_config()
740 err_msg("Failed to set print stack\n"); in timerlat_hist_apply_config()
817 err_msg("Could not init osnoise hist\n"); in timerlat_hist_main()
823 err_msg("Could not apply config\n"); in timerlat_hist_main()
838 err_msg("Failed to set sched parameters\n"); in timerlat_hist_main()
[all …]
A Dutils.c25 void err_msg(const char *fmt, ...) in err_msg() function
259 err_msg("Failed to set sched attributes to the pid %d: %s\n", in __set_sched_attr()
337 err_msg("Command prefix is too long: %d < strlen(%s)\n", in set_comm_sched_attr()
344 err_msg("Could not open procfs\n"); in set_comm_sched_attr()
357 err_msg("Error setting sched attributes for pid:%s\n", proc_entry->d_name); in set_comm_sched_attr()
517 err_msg("Error opening /dev/cpu_dma_latency\n"); in set_cpu_dma_latency()
523 err_msg("Error setting /dev/cpu_dma_latency\n"); in set_cpu_dma_latency()
A Dosnoise.c100 err_msg("could not restore original osnoise cpus\n"); in osnoise_restore_cpus()
320 err_msg("Could not restore original osnoise runtime/period\n"); in osnoise_restore_runtime_period()
401 err_msg("Could not restore original osnoise timerlat_period_us\n"); in osnoise_restore_timerlat_period_us()
480 err_msg("Could not restore original osnoise stop_us\n"); in osnoise_restore_stop_us()
560 err_msg("Could not restore original osnoise stop_total_us\n"); in osnoise_restore_stop_total_us()
639 err_msg("Could not restore original osnoise print_stack\n"); in osnoise_restore_print_stack()
718 err_msg("Could not restore original tracing_thresh\n"); in osnoise_restore_tracing_thresh()
828 err_msg("Could not restore original OSNOISE_IRQ_DISABLE option\n"); in osnoise_restore_irq_disable()
1001 err_msg("Could not find osnoise events\n"); in osnoise_init_trace_tool()
1007 err_msg("Could not enable %s tracer for tracing\n", tracer); in osnoise_init_trace_tool()
/linux-6.3-rc2/tools/verification/rv/src/
A Din_kernel.c58 err_msg("ikm: fail read enabled: %d\n", enabled); in ikm_read_enable()
82 err_msg("ikm: writing enabled: %s\n", enable_disable); in ikm_write_enable()
123 err_msg("ikm: error reading monitor %s desc\n", monitor_name); in ikm_read_desc()
144 err_msg("ikm: monitor %s fail to read enable file, bug?\n", name); in ikm_fill_monitor_definition()
150 err_msg("ikm: monitor %s does not have desc file, bug?\n", name); in ikm_fill_monitor_definition()
194 err_msg("ikm: fail reading monitor's %s reactors file\n", monitor_name); in ikm_read_reactor()
254 err_msg("ikm: fail reading monitor's %s format event file\n", monitor_name); in ikm_has_id()
294 err_msg("ikm: error reading %d in kernel monitor, skipping\n", curr); in ikm_list_monitors()
442 err_msg("ikm: failed to read monitor %s event format\n", monitor_name); in ikm_setup_trace_instance()
449 err_msg("ikm: failed to allocate trace instance"); in ikm_setup_trace_instance()
[all …]
A Dutils.c19 void err_msg(const char *fmt, ...) in err_msg() function
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dspin_lock.c12 const char *err_msg; member
48 static void test_spin_lock_fail_prog(const char *prog_name, const char *err_msg) in test_spin_lock_fail_prog() argument
77 if (!ASSERT_OK_PTR(strstr(log_buf, err_msg), "expected error message")) { in test_spin_lock_fail_prog()
78 fprintf(stderr, "Expected: %s\n", err_msg); in test_spin_lock_fail_prog()
140 spin_lock_fail_tests[i].err_msg); in test_spin_lock()
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()
A Dbpf_nf.c12 const char *err_msg; member
137 static void test_bpf_nf_ct_fail(const char *prog_name, const char *err_msg) in test_bpf_nf_ct_fail() argument
160 if (!ASSERT_OK_PTR(strstr(log_buf, err_msg), "expected error message")) { in test_bpf_nf_ct_fail()
161 fprintf(stderr, "Expected: %s\n", err_msg); in test_bpf_nf_ct_fail()
179 test_bpf_nf_fail_tests[i].err_msg); in test_bpf_nf()
/linux-6.3-rc2/drivers/mtd/ubi/
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-6.3-rc2/drivers/platform/x86/intel/int3472/
A Ddiscrete.c216 const char *err_msg; in skl_int3472_handle_gpio_resources() local
257 err_msg = "Failed to map GPIO pin to sensor\n"; in skl_int3472_handle_gpio_resources()
263 err_msg = "Failed to register clock\n"; in skl_int3472_handle_gpio_resources()
269 err_msg = "Failed to register LED\n"; in skl_int3472_handle_gpio_resources()
275 err_msg = "Failed to map regulator to sensor\n"; in skl_int3472_handle_gpio_resources()
290 return dev_err_probe(int3472->dev, ret, err_msg); in skl_int3472_handle_gpio_resources()
/linux-6.3-rc2/arch/um/drivers/
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-6.3-rc2/tools/testing/selftests/powerpc/mm/
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-6.3-rc2/tools/testing/selftests/resctrl/
A Dresctrl.h40 #define PARENT_EXIT(err_msg) \ argument
42 perror(err_msg); \
/linux-6.3-rc2/drivers/media/i2c/
A Dov5670.c2651 const char *err_msg; in ov5670_probe() local
2659 err_msg = "devm_kzalloc() error"; in ov5670_probe()
2684 err_msg = "Regulators probe failed"; in ov5670_probe()
2690 err_msg = "GPIO probe failed"; in ov5670_probe()
2698 err_msg = "Power up failed"; in ov5670_probe()
2705 err_msg = "ov5670_identify_module() error"; in ov5670_probe()
2717 err_msg = "ov5670_init_controls() error"; in ov5670_probe()
2730 err_msg = "media_entity_pads_init() error"; in ov5670_probe()
2744 err_msg = "v4l2_async_register_subdev() error"; in ov5670_probe()
2768 dev_err(&client->dev, "%s: %s %d\n", __func__, err_msg, ret); in ov5670_probe()
/linux-6.3-rc2/drivers/media/platform/qcom/venus/
A Dcore.c88 const char *err_msg = ""; in venus_sys_error_handler() local
93 err_msg = "resume runtime PM"; in venus_sys_error_handler()
125 err_msg = "resume runtime PM"; in venus_sys_error_handler()
131 err_msg = "boot Venus"; in venus_sys_error_handler()
137 err_msg = "resume HFI"; in venus_sys_error_handler()
147 err_msg = "init HFI"; in venus_sys_error_handler()
157 err_msg); in venus_sys_error_handler()
/linux-6.3-rc2/drivers/net/ethernet/3com/
A Dtyphoon.c2302 const char *err_msg; in typhoon_init_one() local
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()
2355 err_msg = "could not request regions"; in typhoon_init_one()
2376 err_msg = "could not allocate DMA memory"; in typhoon_init_one()
2400 err_msg = "could not reset 3XP"; in typhoon_init_one()
2416 err_msg = "cannot boot 3XP sleep image"; in typhoon_init_one()
2423 err_msg = "cannot read MAC address"; in typhoon_init_one()
2461 err_msg = "cannot put adapter to sleep"; in typhoon_init_one()
[all …]
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/
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-6.3-rc2/tools/perf/jvmti/
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-6.3-rc2/tools/verification/rv/include/
A Dutils.h6 void err_msg(const char *fmt, ...);
/linux-6.3-rc2/tools/testing/selftests/mqueue/
A Dmq_open_tests.c61 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()

Completed in 39 milliseconds

123