"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "stress-ng.h" 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.h  (stress-ng-0.13.04.tar.xz):stress-ng.h  (stress-ng-0.13.05.tar.xz)
skipping to change at line 502 skipping to change at line 502
#endif #endif
#if defined(HAVE_LINUX_CONNECTOR_H) #if defined(HAVE_LINUX_CONNECTOR_H)
#include <linux/connector.h> #include <linux/connector.h>
#endif #endif
#if defined(HAVE_LINUX_DM_IOCTL_H) #if defined(HAVE_LINUX_DM_IOCTL_H)
#include <linux/dm-ioctl.h> #include <linux/dm-ioctl.h>
#endif #endif
#if defined(HAVE_LINUX_FD_H)
#include <linux/fd.h>
#endif
#if defined(HAVE_LINUX_GENETLINK_H) #if defined(HAVE_LINUX_GENETLINK_H)
#include <linux/genetlink.h> #include <linux/genetlink.h>
#endif #endif
#if defined(HAVE_LINUX_HDREG_H) #if defined(HAVE_LINUX_HDREG_H)
#include <linux/hdreg.h> #include <linux/hdreg.h>
#endif #endif
#if defined(HAVE_LINUX_IF_ALG_H) #if defined(HAVE_LINUX_IF_ALG_H)
#include <linux/if_alg.h> #include <linux/if_alg.h>
skipping to change at line 598 skipping to change at line 602
#endif #endif
#if defined(HAVE_LINUX_PTP_CLOCK_H) #if defined(HAVE_LINUX_PTP_CLOCK_H)
#include <linux/ptp_clock.h> #include <linux/ptp_clock.h>
#endif #endif
#if defined(HAVE_LINUX_POSIX_TYPES_H) #if defined(HAVE_LINUX_POSIX_TYPES_H)
#include <linux/posix_types.h> #include <linux/posix_types.h>
#endif #endif
#if defined(HAVE_LINUX_PPDEV_H)
#include <linux/ppdev.h>
#endif
#if defined(HAVE_LINUX_RANDOM_H) #if defined(HAVE_LINUX_RANDOM_H)
#include <linux/random.h> #include <linux/random.h>
#endif #endif
#if defined(HAVE_LINUX_RSEQ_H) #if defined(HAVE_LINUX_RSEQ_H)
#include <linux/rseq.h> #include <linux/rseq.h>
#endif #endif
#if defined(HAVE_LINUX_RTC_H) #if defined(HAVE_LINUX_RTC_H)
#include <linux/rtc.h> #include <linux/rtc.h>
skipping to change at line 947 skipping to change at line 955
#define OPT_FLAGS_THRASH STRESS_BIT_ULL(31) /* --thrash */ #define OPT_FLAGS_THRASH STRESS_BIT_ULL(31) /* --thrash */
#define OPT_FLAGS_OOMABLE STRESS_BIT_ULL(32) /* --oomable */ #define OPT_FLAGS_OOMABLE STRESS_BIT_ULL(32) /* --oomable */
#define OPT_FLAGS_ABORT STRESS_BIT_ULL(33) /* --abort */ #define OPT_FLAGS_ABORT STRESS_BIT_ULL(33) /* --abort */
#define OPT_FLAGS_CPU_ONLINE_ALL STRESS_BIT_ULL(34) /* --cpu-online-all */ #define OPT_FLAGS_CPU_ONLINE_ALL STRESS_BIT_ULL(34) /* --cpu-online-all */
#define OPT_FLAGS_TIMESTAMP STRESS_BIT_ULL(35) /* --timestamp */ #define OPT_FLAGS_TIMESTAMP STRESS_BIT_ULL(35) /* --timestamp */
#define OPT_FLAGS_DEADLINE_GRUB STRESS_BIT_ULL(36) /* --sched-reclaim */ #define OPT_FLAGS_DEADLINE_GRUB STRESS_BIT_ULL(36) /* --sched-reclaim */
#define OPT_FLAGS_FTRACE STRESS_BIT_ULL(37) /* --ftrace */ #define OPT_FLAGS_FTRACE STRESS_BIT_ULL(37) /* --ftrace */
#define OPT_FLAGS_SEED STRESS_BIT_ULL(38) /* --seed */ #define OPT_FLAGS_SEED STRESS_BIT_ULL(38) /* --seed */
#define OPT_FLAGS_SKIP_SILENT STRESS_BIT_ULL(39) /* --skip-silent */ #define OPT_FLAGS_SKIP_SILENT STRESS_BIT_ULL(39) /* --skip-silent */
#define OPT_FLAGS_SMART STRESS_BIT_ULL(40) /* --smart */ #define OPT_FLAGS_SMART STRESS_BIT_ULL(40) /* --smart */
#define OPT_FLAGS_NO_OOM_ADJUST STRESS_BIT_ULL(41) /* --no-oom-adjus t */
#define OPT_FLAGS_MINMAX_MASK \ #define OPT_FLAGS_MINMAX_MASK \
(OPT_FLAGS_MINIMIZE | OPT_FLAGS_MAXIMIZE) (OPT_FLAGS_MINIMIZE | OPT_FLAGS_MAXIMIZE)
/* Aggressive mode flags */ /* Aggressive mode flags */
#define OPT_FLAGS_AGGRESSIVE_MASK \ #define OPT_FLAGS_AGGRESSIVE_MASK \
(OPT_FLAGS_MMAP_MADVISE | \ (OPT_FLAGS_MMAP_MADVISE | \
OPT_FLAGS_MMAP_MINCORE | \ OPT_FLAGS_MMAP_MINCORE | \
OPT_FLAGS_HDD_SYNC | \ OPT_FLAGS_HDD_SYNC | \
OPT_FLAGS_HDD_DSYNC | \ OPT_FLAGS_HDD_DSYNC | \
skipping to change at line 1391 skipping to change at line 1400
#define STRESS_PRAGMA_PUSH _Pragma("GCC diagnostic push") #define STRESS_PRAGMA_PUSH _Pragma("GCC diagnostic push")
#define STRESS_PRAGMA_POP _Pragma("GCC diagnostic pop") #define STRESS_PRAGMA_POP _Pragma("GCC diagnostic pop")
#define STRESS_PRAGMA_WARN_OFF _Pragma("GCC diagnostic ignored \"-Weverything\"" ) #define STRESS_PRAGMA_WARN_OFF _Pragma("GCC diagnostic ignored \"-Weverything\"" )
#elif defined(__GNUC__) && \ #elif defined(__GNUC__) && \
NEED_GNUC(4, 4, 0) NEED_GNUC(4, 4, 0)
#define STRESS_PRAGMA_PUSH _Pragma("GCC diagnostic push") #define STRESS_PRAGMA_PUSH _Pragma("GCC diagnostic push")
#define STRESS_PRAGMA_POP _Pragma("GCC diagnostic pop") #define STRESS_PRAGMA_POP _Pragma("GCC diagnostic pop")
#define STRESS_PRAGMA_WARN_OFF _Pragma("GCC diagnostic ignored \"-Wall\"") \ #define STRESS_PRAGMA_WARN_OFF _Pragma("GCC diagnostic ignored \"-Wall\"") \
_Pragma("GCC diagnostic ignored \"-Wextra\"") \ _Pragma("GCC diagnostic ignored \"-Wextra\"") \
_Pragma("GCC diagnostic ignored \"-Wdeprecated-de clarations\"") \ _Pragma("GCC diagnostic ignored \"-Wdeprecated-de clarations\"") \
_Pragma("GCC diagnostic ignored \"-Wcast-qual\"") _Pragma("GCC diagnostic ignored \"-Wcast-qual\"") \
_Pragma("GCC diagnostic ignored \"-Wnonnull\"") _Pragma("GCC diagnostic ignored \"-Wnonnull\"")
#else #else
#define STRESS_PRAGMA_PUSH #define STRESS_PRAGMA_PUSH
#define STRESS_PRAGMA_POP #define STRESS_PRAGMA_POP
#define STRESS_PRAGMA_WARN_OFF #define STRESS_PRAGMA_WARN_OFF
#endif #endif
/* Logging helpers */ /* Logging helpers */
extern int pr_msg(FILE *fp, const uint64_t flag, extern int pr_msg(FILE *fp, const uint64_t flag,
const char *const fmt, va_list va) FORMAT(printf, 3, 0); const char *const fmt, va_list va) FORMAT(printf, 3, 0);
skipping to change at line 3306 skipping to change at line 3315
OPT_netlink_proc, OPT_netlink_proc,
OPT_netlink_proc_ops, OPT_netlink_proc_ops,
OPT_netlink_task, OPT_netlink_task,
OPT_netlink_task_ops, OPT_netlink_task_ops,
OPT_nice, OPT_nice,
OPT_nice_ops, OPT_nice_ops,
OPT_no_madvise, OPT_no_madvise,
OPT_no_oom_adjust,
OPT_no_rand_seed, OPT_no_rand_seed,
OPT_nop, OPT_nop,
OPT_nop_ops, OPT_nop_ops,
OPT_nop_instr, OPT_nop_instr,
OPT_null, OPT_null,
OPT_null_ops, OPT_null_ops,
OPT_numa, OPT_numa,
 End of changes. 5 change blocks. 
1 lines changed or deleted 11 lines changed or added

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