X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fstress%2FREADME;fp=tests%2Fstress%2FREADME;h=f565e3b7c0c575a71acf102ad76bda48d6da3a50;hb=605ac7582cd379d4c6d0744f822a494640ae2cc7;hp=0000000000000000000000000000000000000000;hpb=73811eccc9599ebf62e5f5bee49039cecc25c3eb;p=lttng-tools.git diff --git a/tests/stress/README b/tests/stress/README new file mode 100644 index 000000000..f565e3b7c --- /dev/null +++ b/tests/stress/README @@ -0,0 +1,19 @@ +Compiling the whole code base with "-O0" is HIGHLY recommended before running +stress tests. This makes the GDB backtrace accurate and without values +optimized out. + +Use this diff: +------- +diff --git a/configure.ac b/configure.ac +index d5733b3..8bbb115 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -285,7 +285,7 @@ AC_PROG_LEX + + AC_DEFUN([AC_PROG_BISON], [AC_CHECK_PROGS(BISON, bison, bison)]) + + -CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing" + +CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing -O0" + + DEFAULT_INCLUDES="-I\$(top_srcdir) -I\$(top_builddir) -I\$(top_builddir)/src -I\$(top_builddir)/include - +-------