Home
last modified time | relevance | path

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

12

/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 …]
/tools/tracing/rtla/src/
A Dtimerlat.c34 err_msg("Failed to apply CPUs config\n"); in timerlat_apply_config()
50 err_msg("Failed to set stop us\n"); in timerlat_apply_config()
56 err_msg("Failed to set stop total us\n"); in timerlat_apply_config()
67 err_msg("Failed to set timerlat period\n"); in timerlat_apply_config()
74 err_msg("Failed to set print stack\n"); in timerlat_apply_config()
82 err_msg("Failed to set rtla to the house keeping CPUs\n"); in timerlat_apply_config()
119 err_msg("Failed to set OSNOISE_WORKLOAD option\n"); in timerlat_apply_config()
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()
83 err_msg("Failed to open trace file\n"); in save_trace_to_file()
90 err_msg("Failed to create output file %s\n", filename); in save_trace_to_file()
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()
484 err_msg("Error enabling %s:%s filter %s\n", tevent->system, in trace_event_enable_filter()
519 err_msg("Error enabling %s:%s trigger %s\n", tevent->system, in trace_event_enable_trigger()
542 err_msg("Error enabling event %s:%s\n", tevent->system, in trace_events_enable()
[all …]
A Dutils.c29 void err_msg(const char *fmt, ...) in err_msg() function
327 err_msg("Command prefix is too long: %d < strlen(%s)\n", in set_comm_sched_attr()
334 err_msg("Could not open procfs\n"); in set_comm_sched_attr()
507 err_msg("Error opening /dev/cpu_dma_latency\n"); in set_cpu_dma_latency()
513 err_msg("Error setting /dev/cpu_dma_latency\n"); in set_cpu_dma_latency()
791 err_msg("Did not find cgroupv2 mount point\n"); in set_pid_cgroup()
799 err_msg("Did not find self cgroup\n"); in set_pid_cgroup()
849 err_msg("Command prefix is too long: %d < strlen(%s)\n", in set_comm_cgroup()
856 err_msg("Did not find cgroupv2 mount point\n"); in set_comm_cgroup()
864 err_msg("Did not find self cgroup\n"); in set_comm_cgroup()
[all …]
A 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()
A Dosnoise.c104 err_msg("could not restore original osnoise cpus\n"); in osnoise_restore_cpus()
484 err_msg("Could not restore original osnoise stop_us\n"); in osnoise_restore_stop_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()
1070 err_msg("Could not find osnoise events\n"); in osnoise_init_trace_tool()
1135 err_msg("Failed to apply CPUs config\n"); in osnoise_apply_config()
1150 err_msg("Failed to set runtime and/or period\n"); in osnoise_apply_config()
1156 err_msg("Failed to set stop us\n"); in osnoise_apply_config()
1162 err_msg("Failed to set stop total us\n"); in osnoise_apply_config()
1168 err_msg("Failed to set tracing_thresh\n"); in osnoise_apply_config()
[all …]
A Dosnoise_top.c416 err_msg("Error alloc trace event"); in osnoise_top_parse_args()
433 err_msg("Error parsing house keeping CPUs\n"); in osnoise_top_parse_args()
480 err_msg("Error adding trigger %s\n", optarg); in osnoise_top_parse_args()
491 err_msg("Error adding filter %s\n", optarg); in osnoise_top_parse_args()
510 err_msg("osnoise needs root permission\n"); in osnoise_top_parse_args()
607 err_msg("Could not init osnoise top\n"); in osnoise_top_main()
613 err_msg("Could not apply config\n"); in osnoise_top_main()
621 err_msg("Failed to enable osnoise tracer\n"); in osnoise_top_main()
628 err_msg("Failed to set sched parameters\n"); in osnoise_top_main()
636 err_msg("Failed to move threads to cgroup\n"); in osnoise_top_main()
[all …]
A Dtimerlat_top.c672 err_msg("Error alloc trace event"); in timerlat_top_parse_args()
785 err_msg("Invalid action %s\n", optarg); in timerlat_top_parse_args()
792 err_msg("Invalid action %s\n", optarg); in timerlat_top_parse_args()
805 err_msg("rtla needs root permission\n"); in timerlat_top_parse_args()
941 err_msg("Error iterating on events\n"); in timerlat_top_main_loop()
999 err_msg("Error pulling BPF data\n"); in timerlat_top_bpf_main_loop()
1055 err_msg("Could not init osnoise top\n"); in timerlat_top_main()
1087 err_msg("Could not apply config\n"); in timerlat_top_main()
1093 err_msg("Failed to enable timerlat tracer\n"); in timerlat_top_main()
1100 err_msg("Failed to set sched parameters\n"); in timerlat_top_main()
[all …]
A Dosnoise_hist.c205 err_msg("error reading cpu from histogram\n"); in osnoise_read_trace_hist()
581 err_msg("Error alloc trace event"); in osnoise_hist_parse_args()
603 err_msg("Error parsing house keeping CPUs\n"); in osnoise_hist_parse_args()
670 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()
779 err_msg("Could not init osnoise hist\n"); in osnoise_hist_main()
785 err_msg("Could not apply config\n"); in osnoise_hist_main()
793 err_msg("Failed to enable osnoise tracer\n"); in osnoise_hist_main()
804 err_msg("Failed to set sched parameters\n"); in osnoise_hist_main()
812 err_msg("Failed to move threads to cgroup\n"); in osnoise_hist_main()
[all …]
A Dtimerlat_hist.c912 err_msg("Error alloc trace event"); in timerlat_hist_parse_args()
1046 err_msg("Invalid action %s\n", optarg); in timerlat_hist_parse_args()
1053 err_msg("Invalid action %s\n", optarg); in timerlat_hist_parse_args()
1066 err_msg("rtla needs root permission\n"); in timerlat_hist_parse_args()
1196 err_msg("Could not init osnoise hist\n"); in timerlat_hist_main()
1228 err_msg("Could not apply config\n"); in timerlat_hist_main()
1234 err_msg("Failed to enable timerlat tracer\n"); in timerlat_hist_main()
1241 err_msg("Failed to set sched parameters\n"); in timerlat_hist_main()
1367 err_msg("Error attaching BPF program\n"); in timerlat_hist_main()
1386 err_msg("Error iterating on events\n"); in timerlat_hist_main()
[all …]
A Dactions.c231 err_msg("Error saving trace\n"); in actions_perform()
242 err_msg("Error sending signal\n"); in actions_perform()
A Dutils.h21 void err_msg(const char *fmt, ...);
A Dtimerlat_aa.c716 err_msg("Error iterating on events\n"); in timerlat_auto_analysis_collect_trace()
948 err_msg("Could not find osnoise events\n"); in timerlat_aa_register_events()
975 err_msg("Could not find sched_switch\n"); in timerlat_aa_register_events()
984 err_msg("Could not find workqueue_execute_start\n"); in timerlat_aa_register_events()
/tools/testing/selftests/bpf/prog_tests/
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()
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 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()
A Dbpf_nf.c12 const char *err_msg; member
154 static void test_bpf_nf_ct_fail(const char *prog_name, const char *err_msg) in test_bpf_nf_ct_fail() argument
177 if (!ASSERT_OK_PTR(strstr(log_buf, err_msg), "expected error message")) { in test_bpf_nf_ct_fail()
178 fprintf(stderr, "Expected: %s\n", err_msg); in test_bpf_nf_ct_fail()
196 test_bpf_nf_fail_tests[i].err_msg); in test_bpf_nf()
A Dlinked_list.c16 const char *err_msg; member
102 static void test_linked_list_fail_prog(const char *prog_name, const char *err_msg) in test_linked_list_fail_prog() argument
125 if (!ASSERT_OK_PTR(strstr(log_buf, err_msg), "expected error message")) { in test_linked_list_fail_prog()
126 fprintf(stderr, "Expected: %s\n", err_msg); in test_linked_list_fail_prog()
798 linked_list_fail_tests[i].err_msg); in test_linked_list()
/tools/verification/rv/src/
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()
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()
788 err_msg("ikm: error finding monitor %s\n", nested_name); in ikm_run_monitor()
794 err_msg("ikm: monitor %s (in-kernel) is already enabled\n", nested_name); in ikm_run_monitor()
[all …]
A Dutils.c19 void err_msg(const char *fmt, ...) in err_msg() function
A Drv.c129 err_msg("rv: monitor %s does not exist\n", monitor_name); in rv_mon()
/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()
/tools/verification/rv/include/
A Dutils.h6 void err_msg(const char *fmt, ...);
/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()
/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 47 milliseconds

12