Home
last modified time | relevance | path

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

123

/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/
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-6.6.21/tools/tracing/rtla/src/
Dtimerlat_top.c500 err_msg("Error alloc trace event"); in timerlat_top_parse_args()
516 err_msg("Error parsing house keeping CPUs\n"); in timerlat_top_parse_args()
561 err_msg("Error adding trigger %s\n", optarg); in timerlat_top_parse_args()
572 err_msg("Error adding filter %s\n", optarg); in timerlat_top_parse_args()
582 err_msg("--dma-latency needs to be >= 0 and < 10000"); in timerlat_top_parse_args()
598 err_msg("rtla needs root permission\n"); in timerlat_top_parse_args()
629 err_msg("Failed to apply CPUs config\n"); in timerlat_top_apply_config()
640 err_msg("Failed to set stop us\n"); in timerlat_top_apply_config()
648 err_msg("Failed to set stop total us\n"); in timerlat_top_apply_config()
657 err_msg("Failed to set timerlat period\n"); in timerlat_top_apply_config()
[all …]
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()
341 err_msg(" Failed to read %s:%s hist file\n", tevent->system, tevent->event); in trace_event_save_hist()
380 err_msg("Error disabling %s:%s trigger %s\n", tevent->system, in trace_event_disable_trigger()
421 err_msg("Filter %s applies only for single events, not for all %s:* events\n", in trace_event_enable_filter()
[all …]
Dosnoise_top.c436 err_msg("Error alloc trace event"); in osnoise_top_parse_args()
453 err_msg("Error parsing house keeping CPUs\n"); in osnoise_top_parse_args()
496 err_msg("Error adding trigger %s\n", optarg); in osnoise_top_parse_args()
507 err_msg("Error adding filter %s\n", optarg); in osnoise_top_parse_args()
520 err_msg("osnoise needs root permission\n"); in osnoise_top_parse_args()
541 err_msg("Failed to apply CPUs config\n"); in osnoise_top_apply_config()
551 err_msg("Failed to set runtime and/or period\n"); in osnoise_top_apply_config()
559 err_msg("Failed to set stop us\n"); in osnoise_top_apply_config()
567 err_msg("Failed to set stop total us\n"); in osnoise_top_apply_config()
575 err_msg("Failed to set tracing_thresh\n"); in osnoise_top_apply_config()
[all …]
Dutils.c26 void err_msg(const char *fmt, ...) in err_msg() function
248 err_msg("Failed to set sched attributes to the pid %d: %s\n", in __set_sched_attr()
326 err_msg("Command prefix is too long: %d < strlen(%s)\n", in set_comm_sched_attr()
333 err_msg("Could not open procfs\n"); in set_comm_sched_attr()
346 err_msg("Error setting sched attributes for pid:%s\n", proc_entry->d_name); in set_comm_sched_attr()
506 err_msg("Error opening /dev/cpu_dma_latency\n"); in set_cpu_dma_latency()
512 err_msg("Error setting /dev/cpu_dma_latency\n"); in set_cpu_dma_latency()
643 err_msg("Did not find cgroupv2 mount point\n"); in set_pid_cgroup()
651 err_msg("Did not find self cgroup\n"); in set_pid_cgroup()
671 err_msg("Error setting cgroup attributes for pid:%s - %s\n", in set_pid_cgroup()
[all …]
Dosnoise_hist.c227 err_msg("error reading duration from histogram\n"); in osnoise_read_trace_hist()
235 err_msg("error reading cpu from histogram\n"); in osnoise_read_trace_hist()
243 err_msg("error reading counter from histogram\n"); in osnoise_read_trace_hist()
591 err_msg("Error alloc trace event"); in osnoise_hist_parse_args()
613 err_msg("Error parsing house keeping CPUs\n"); in osnoise_hist_parse_args()
665 err_msg("Error adding trigger %s\n", optarg); in osnoise_hist_parse_args()
676 err_msg("Error adding filter %s\n", optarg); in osnoise_hist_parse_args()
689 err_msg("rtla needs root permission\n"); in osnoise_hist_parse_args()
713 err_msg("Failed to apply CPUs config\n"); in osnoise_hist_apply_config()
723 err_msg("Failed to set runtime and/or period\n"); in osnoise_hist_apply_config()
[all …]
Dtimerlat_hist.c670 err_msg("Error alloc trace event"); in timerlat_hist_parse_args()
692 err_msg("Error parsing house keeping CPUs\n"); in timerlat_hist_parse_args()
751 err_msg("Error adding trigger %s\n", optarg); in timerlat_hist_parse_args()
762 err_msg("Error adding filter %s\n", optarg); in timerlat_hist_parse_args()
772 err_msg("--dma-latency needs to be >= 0 and < 10000"); in timerlat_hist_parse_args()
788 err_msg("rtla needs root permission\n"); in timerlat_hist_parse_args()
821 err_msg("Failed to apply CPUs config\n"); in timerlat_hist_apply_config()
832 err_msg("Failed to set stop us\n"); in timerlat_hist_apply_config()
840 err_msg("Failed to set stop total us\n"); in timerlat_hist_apply_config()
848 err_msg("Failed to set timerlat period\n"); in timerlat_hist_apply_config()
[all …]
Dtimerlat_u.c55 err_msg("Error setting timerlat u default priority: %s\n", strerror(errno)); in timerlat_u_main()
69 err_msg("Error setting timerlat u cgroup pid\n"); in timerlat_u_main()
82 err_msg("Error opening %s:%s\n", buffer, strerror(errno)); in timerlat_u_main()
118 err_msg("Error killing child process %d\n", procs[i]); in timerlat_u_send_kill()
209 err_msg("Failed to monitor child processes"); in timerlat_u_dispatcher()
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()
889 err_msg("Could not restore original OSNOISE_WORKLOAD option\n"); in osnoise_restore_workload()
1066 err_msg("Could not find osnoise events\n"); in osnoise_init_trace_tool()
[all …]
/linux-6.6.21/tools/verification/rv/src/
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()
283 err_msg("ikm: available monitors is not available, is CONFIG_RV enabled?\n"); in ikm_list_monitors()
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()
[all …]
Dutils.c19 void err_msg(const char *fmt, ...) in err_msg() function
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dspin_lock.c13 const char *err_msg; member
71 static void test_spin_lock_fail_prog(const char *prog_name, const char *err_msg) in test_spin_lock_fail_prog() argument
100 ret = match_regex(err_msg, log_buf); in test_spin_lock_fail_prog()
105 fprintf(stderr, "Expected: %s\n", err_msg); in test_spin_lock_fail_prog()
167 spin_lock_fail_tests[i].err_msg); in test_spin_lock()
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()
Dbpf_nf.c12 const char *err_msg; member
138 static void test_bpf_nf_ct_fail(const char *prog_name, const char *err_msg) in test_bpf_nf_ct_fail() argument
161 if (!ASSERT_OK_PTR(strstr(log_buf, err_msg), "expected error message")) { in test_bpf_nf_ct_fail()
162 fprintf(stderr, "Expected: %s\n", err_msg); in test_bpf_nf_ct_fail()
180 test_bpf_nf_fail_tests[i].err_msg); in test_bpf_nf()
/linux-6.6.21/drivers/mtd/ubi/
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.6.21/drivers/platform/x86/intel/int3472/
Ddiscrete.c159 const char *err_msg; in skl_int3472_handle_gpio_resources() local
205 err_msg = "Failed to map GPIO pin to sensor\n"; in skl_int3472_handle_gpio_resources()
211 err_msg = "Failed to register clock\n"; in skl_int3472_handle_gpio_resources()
217 err_msg = "Failed to register LED\n"; in skl_int3472_handle_gpio_resources()
223 err_msg = "Failed to map regulator to sensor\n"; in skl_int3472_handle_gpio_resources()
238 return dev_err_probe(int3472->dev, ret, err_msg); in skl_int3472_handle_gpio_resources()
/linux-6.6.21/arch/um/drivers/
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.6.21/tools/testing/selftests/powerpc/mm/
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.6.21/tools/testing/selftests/resctrl/
Dresctrl.h40 #define PARENT_EXIT(err_msg) \ argument
42 perror(err_msg); \
/linux-6.6.21/drivers/media/platform/qcom/venus/
Dcore.c89 const char *err_msg = ""; in venus_sys_error_handler() local
94 err_msg = "resume runtime PM"; in venus_sys_error_handler()
126 err_msg = "resume runtime PM"; in venus_sys_error_handler()
132 err_msg = "boot Venus"; in venus_sys_error_handler()
138 err_msg = "resume HFI"; in venus_sys_error_handler()
148 err_msg = "init HFI"; in venus_sys_error_handler()
158 err_msg); in venus_sys_error_handler()
/linux-6.6.21/drivers/net/ethernet/3com/
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-6.6.21/drivers/net/wireless/broadcom/b43/
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.6.21/tools/perf/jvmti/
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.6.21/tools/verification/rv/include/
Dutils.h6 void err_msg(const char *fmt, ...);
/linux-6.6.21/tools/testing/selftests/mqueue/
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()

123