Lines Matching refs:printf

119 #define vbprintf if (verbose) printf
395 printf("Please remove semaphore with key=0x%lx, then run the tool.\n",
521 printf("err_type_info=%lx\n", err_type_info);
528 printf("err_struct_info=%lx\n", err_struct_info);
535 printf("err_data_buffer=%lx\n", err_data_buffer);
542 printf("status=%d\n", status);
549 printf("capabilities=%lx\n", capabilities);
556 printf("resources=%lx\n", resources);
601 printf("All capabilities implemented in pal_mc_error_inject:\n");
621 printf("For err_sev=%d, err_struct=%d, struct_hier=%d: ",
623 printf("capabilities 0x%lx\n", capabilities);
627 printf("No capabilities supported.\n");
698 printf("Not supported cl_id\n");
708 printf("Not supported err_struct\n");
815 printf("Can not create semaphore...exit\n");
823 printf("Can not create semaphore for cpu%d...exit\n",i);
832 printf("Error to create shm...exit\n");
951 printf("All done.\n");
958 printf("err_inject_tool:\n");
959 printf("\t-q: query all capabilities. default: off\n");
960 printf("\t-m: procedure mode. 1: physical 2: virtual. default: 1\n");
961 printf("\t-i: inject errors. default: off\n");
962 printf("\t-l: one lock per cpu. default: one lock for all\n");
963 printf("\t-e: error parameters:\n");
964printf("\t\tcpu,loop,interval,err_type_info,err_struct_info[,err_data_buffer[0],err_data_buffer[1]…
965 printf("\t\t cpu: logical cpu number the error will be inject in.\n");
966 printf("\t\t loop: times the error will be injected.\n");
967 printf("\t\t interval: In second. every so often one error is injected.\n");
968 printf("\t\t err_type_info, err_struct_info: PAL parameters.\n");
969 printf("\t\t err_data_buffer: PAL parameter. Optional. If not present,\n");
970 printf("\t\t it's constructed by tool automatically. Be\n");
971 printf("\t\t careful to provide err_data_buffer and make\n");
972 printf("\t\t sure it's working with the environment.\n");
973 printf("\t Note:no space between error parameters.\n");
974 printf("\t default: Take error parameters from err.conf instead of command line.\n");
975 printf("\t-v: verbose. default: off\n");
976 printf("\t-h: help\n\n");
977 printf("The tool will take err.conf file as ");
978 printf("input to inject single or multiple errors ");
979 printf("on one or multiple cpus in parallel.\n");
997 printf("Wrong mode number.\n");
1042 printf("Wrong error arguments.\n");