Re: [PATCH][rt-tests] cyclictest: Make the tracemark option imply notrace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2016-03-24 16:24, John Kacur wrote:

On Thu, 24 Mar 2016, Luiz Capitulino wrote:

On Thu, 24 Mar 2016 15:44:39 +0100 (CET)
John Kacur <jkacur@xxxxxxxxxx> wrote:

...
Therefore turn --notrace on if --tracemark is invoked even if the user
doesn't explicitly request this.
I'm not necessarily against this, but at the same time I think
I prefer options doing only one thing.
Maybe think about it a little differently. The option implies a certain
consistent state. So, the option really only does do one thing, it puts
cyclictest in the correct state as required. If we don't do this, someone
is sure to use the --tracemark option without --notrace, and some
unexpected things are going to occur.

Another alternative is to exit with an error if conflicting options are used.

// Mats

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux