|
From: Madhu M. K. <mm...@ya...> - 2003-06-15 22:42:56
|
Hi,
Leonard mckinley wrote:
>What do you think of a --gen-suppressions={yes|no|ask} option. "yes"
>would generate suppressions without a prompt for every flagged issue,
>and "ask" would do what yes does now. I just want it to dump
>everything in a file and when it prompts me I have to sit there and
>bang "y" on the keyboard.
Attached is a patch that does precisely that. It accumulates suppressions
and dumps them into a file, sorted by frequency at which they were hit
during the execution.
I've found this to be fairly useful by running through my programs
with the simplest startup/shutdown execution path. This captures all the
background noise. With the generated suppression file, I then try the
various options in the code to discover problems that I'm in a position to
fix. In addition, reading the low frequency count errors is a good idea :)
Could you apply this patch and let me know how it goes?
Cheerio,
M
Madhu M Kurup /* Nemo Me Impune Lacessit */ mmk at yahoo-inc dt com
|