"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "stress-ng.c" between
stress-ng-0.13.04.tar.xz and stress-ng-0.13.05.tar.xz

About: stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.

stress-ng.c  (stress-ng-0.13.04.tar.xz):stress-ng.c  (stress-ng-0.13.05.tar.xz)
skipping to change at line 70 skipping to change at line 70
{ OPT_cpu_online_all, OPT_FLAGS_CPU_ONLINE_ALL }, { OPT_cpu_online_all, OPT_FLAGS_CPU_ONLINE_ALL },
{ OPT_dry_run, OPT_FLAGS_DRY_RUN }, { OPT_dry_run, OPT_FLAGS_DRY_RUN },
{ OPT_ftrace, OPT_FLAGS_FTRACE }, { OPT_ftrace, OPT_FLAGS_FTRACE },
{ OPT_ignite_cpu, OPT_FLAGS_IGNITE_CPU }, { OPT_ignite_cpu, OPT_FLAGS_IGNITE_CPU },
{ OPT_keep_name, OPT_FLAGS_KEEP_NAME }, { OPT_keep_name, OPT_FLAGS_KEEP_NAME },
{ OPT_log_brief, OPT_FLAGS_LOG_BRIEF }, { OPT_log_brief, OPT_FLAGS_LOG_BRIEF },
{ OPT_maximize, OPT_FLAGS_MAXIMIZE }, { OPT_maximize, OPT_FLAGS_MAXIMIZE },
{ OPT_metrics, OPT_FLAGS_METRICS }, { OPT_metrics, OPT_FLAGS_METRICS },
{ OPT_metrics_brief, OPT_FLAGS_METRICS_BRIEF | OPT_FLAGS_METRICS }, { OPT_metrics_brief, OPT_FLAGS_METRICS_BRIEF | OPT_FLAGS_METRICS },
{ OPT_minimize, OPT_FLAGS_MINIMIZE }, { OPT_minimize, OPT_FLAGS_MINIMIZE },
{ OPT_no_oom_adjust, OPT_FLAGS_NO_OOM_ADJUST },
{ OPT_no_rand_seed, OPT_FLAGS_NO_RAND_SEED }, { OPT_no_rand_seed, OPT_FLAGS_NO_RAND_SEED },
{ OPT_oomable, OPT_FLAGS_OOMABLE }, { OPT_oomable, OPT_FLAGS_OOMABLE },
{ OPT_page_in, OPT_FLAGS_MMAP_MINCORE }, { OPT_page_in, OPT_FLAGS_MMAP_MINCORE },
{ OPT_pathological, OPT_FLAGS_PATHOLOGICAL }, { OPT_pathological, OPT_FLAGS_PATHOLOGICAL },
#if defined(STRESS_PERF_STATS) && \ #if defined(STRESS_PERF_STATS) && \
defined(HAVE_LINUX_PERF_EVENT_H) defined(HAVE_LINUX_PERF_EVENT_H)
{ OPT_perf_stats, OPT_FLAGS_PERF_STATS }, { OPT_perf_stats, OPT_FLAGS_PERF_STATS },
#endif #endif
{ OPT_skip_silent, OPT_FLAGS_SKIP_SILENT }, { OPT_skip_silent, OPT_FLAGS_SKIP_SILENT },
{ OPT_smart, OPT_FLAGS_SMART }, { OPT_smart, OPT_FLAGS_SMART },
skipping to change at line 613 skipping to change at line 614
{ "nanosleep-ops",1, 0, OPT_nanosleep_ops }, { "nanosleep-ops",1, 0, OPT_nanosleep_ops },
{ "netdev", 1, 0, OPT_netdev }, { "netdev", 1, 0, OPT_netdev },
{ "netdev-ops",1, 0, OPT_netdev_ops }, { "netdev-ops",1, 0, OPT_netdev_ops },
{ "netlink-proc",1, 0, OPT_netlink_proc }, { "netlink-proc",1, 0, OPT_netlink_proc },
{ "netlink-proc-ops",1, 0, OPT_netlink_proc_ops }, { "netlink-proc-ops",1, 0, OPT_netlink_proc_ops },
{ "netlink-task",1, 0, OPT_netlink_task }, { "netlink-task",1, 0, OPT_netlink_task },
{ "netlink-task-ops",1, 0, OPT_netlink_task_ops }, { "netlink-task-ops",1, 0, OPT_netlink_task_ops },
{ "nice", 1, 0, OPT_nice }, { "nice", 1, 0, OPT_nice },
{ "nice-ops", 1, 0, OPT_nice_ops }, { "nice-ops", 1, 0, OPT_nice_ops },
{ "no-madvise", 0, 0, OPT_no_madvise }, { "no-madvise", 0, 0, OPT_no_madvise },
{ "no-oom-adjust",0, 0, OPT_no_oom_adjust },
{ "no-rand-seed", 0, 0, OPT_no_rand_seed }, { "no-rand-seed", 0, 0, OPT_no_rand_seed },
{ "nop", 1, 0, OPT_nop }, { "nop", 1, 0, OPT_nop },
{ "nop-ops", 1, 0, OPT_nop_ops }, { "nop-ops", 1, 0, OPT_nop_ops },
{ "nop-instr", 1, 0, OPT_nop_instr }, { "nop-instr", 1, 0, OPT_nop_instr },
{ "null", 1, 0, OPT_null }, { "null", 1, 0, OPT_null },
{ "null-ops", 1, 0, OPT_null_ops }, { "null-ops", 1, 0, OPT_null_ops },
{ "numa", 1, 0, OPT_numa }, { "numa", 1, 0, OPT_numa },
{ "numa-ops", 1, 0, OPT_numa_ops }, { "numa-ops", 1, 0, OPT_numa_ops },
{ "oomable", 0, 0, OPT_oomable }, { "oomable", 0, 0, OPT_oomable },
{ "oom-pipe", 1, 0, OPT_oom_pipe }, { "oom-pipe", 1, 0, OPT_oom_pipe },
skipping to change at line 1016 skipping to change at line 1018
/* /*
* Generic help options * Generic help options
*/ */
static const stress_help_t help_generic[] = { static const stress_help_t help_generic[] = {
{ NULL, "abort", "abort all stressors if any stres sor fails" }, { NULL, "abort", "abort all stressors if any stres sor fails" },
{ NULL, "aggressive", "enable all aggressive options" } , { NULL, "aggressive", "enable all aggressive options" } ,
{ "a N", "all N", "start N workers of each stress t est" }, { "a N", "all N", "start N workers of each stress t est" },
{ "b N", "backoff N", "wait of N microseconds before wo rk starts" }, { "b N", "backoff N", "wait of N microseconds before wo rk starts" },
{ NULL, "class name", "specify a class of stressors, us e with --sequential" }, { NULL, "class name", "specify a class of stressors, us e with --sequential" },
{ "n", "dry-run", "do not run" }, { "n", "dry-run", "do not run" },
{ NULL, "ftrace", "enable kernel function call trac ing" },
{ "h", "help", "show help" }, { "h", "help", "show help" },
{ NULL, "ignite-cpu", "alter kernel controls to make CP U run hot" }, { NULL, "ignite-cpu", "alter kernel controls to make CP U run hot" },
{ NULL, "ionice-class C", "specify ionice class (idle, best effort, realtime)" }, { NULL, "ionice-class C", "specify ionice class (idle, best effort, realtime)" },
{ NULL, "ionice-level L", "specify ionice level (0 max, 7 m in)" }, { NULL, "ionice-level L", "specify ionice level (0 max, 7 m in)" },
{ "j", "job jobfile", "run the named jobfile" }, { "j", "job jobfile", "run the named jobfile" },
{ "k", "keep-name", "keep stress worker names to be ' stress-ng'" }, { "k", "keep-name", "keep stress worker names to be ' stress-ng'" },
{ NULL, "log-brief", "less verbose log messages" }, { NULL, "log-brief", "less verbose log messages" },
{ NULL, "log-file filename", "log messages to a log file" }, { NULL, "log-file filename", "log messages to a log file" },
{ NULL, "maximize", "enable maximum stress options" } , { NULL, "maximize", "enable maximum stress options" } ,
{ NULL, "max-fd", "set maximum file descriptor limi t" }, { NULL, "max-fd", "set maximum file descriptor limi t" },
{ "M", "metrics", "print pseudo metrics of activity " }, { "M", "metrics", "print pseudo metrics of activity " },
{ NULL, "metrics-brief", "enable metrics and only show non -zero results" }, { NULL, "metrics-brief", "enable metrics and only show non -zero results" },
{ NULL, "minimize", "enable minimal stress options" } , { NULL, "minimize", "enable minimal stress options" } ,
{ NULL, "no-madvise", "don't use random madvise options for each mmap" }, { NULL, "no-madvise", "don't use random madvise options for each mmap" },
{ NULL, "no-rand-seed", "seed random numbers with the sam e constant" }, { NULL, "no-rand-seed", "seed random numbers with the sam e constant" },
{ NULL, "oomable", "Do not respawn a stressor if it gets OOM'd" },
{ NULL, "page-in", "touch allocated pages that are n ot in core" }, { NULL, "page-in", "touch allocated pages that are n ot in core" },
{ NULL, "parallel N", "synonym for 'all N'" }, { NULL, "parallel N", "synonym for 'all N'" },
{ NULL, "pathological", "enable stressors that are known to hang a machine" }, { NULL, "pathological", "enable stressors that are known to hang a machine" },
#if defined(STRESS_PERF_STATS) && \ #if defined(STRESS_PERF_STATS) && \
defined(HAVE_LINUX_PERF_EVENT_H) defined(HAVE_LINUX_PERF_EVENT_H)
{ NULL, "perf", "display perf statistics" }, { NULL, "perf", "display perf statistics" },
#endif #endif
{ "q", "quiet", "quiet output" }, { "q", "quiet", "quiet output" },
{ "r", "random N", "start N random workers" }, { "r", "random N", "start N random workers" },
{ NULL, "sched type", "set scheduler type" }, { NULL, "sched type", "set scheduler type" },
 End of changes. 4 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)