#include "yaffsfs.h"
+#include "yaffs_trace.h"
+
#include "nor_stress.h"
#include "yaffs_fsx.h"
signal(SIGBUS,bad_ptr_handler);
signal(SIGABRT,bad_ptr_handler);
#endif
- while ((ch = getopt(argc,argv, "bfilmn:ps:u"))
+ while ((ch = getopt(argc,argv, "bfilmn:ps:t:u"))
!= EOF)
switch (ch) {
case 's':
case 'n':
n_cycles = atoi(optarg);
break;
+ case 't':
+ yaffs_traceMask = strtol(optarg,NULL,0);
+ break;
default:
BadUsage();
/* NOTREACHED */