From 83ca3872dadc89c5a8155150bf76d5c09890dcc9 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 30 Jul 2009 00:06:59 +0200 Subject: PR10459. Disable all warning messages on -w. * stap.1.in: Document that -w disables all warning messages. * dwflpp.cxx (get_module_dwarf): Only output warning when session suppress_warnings is not set. * translate.cxx (dump_unwindsyms): Likewise. (emit_symbol_data_done): Likewise. * tapsets.cxx (query_module_symtab): Likewise. (read_from_elf_file): Take systemtap_session, check suppress_warnings before emitting warning. (read_from_text_file): Likewise. (get_symtab): Call read_from_elf_file and read_from_text_file with session. --- stap.1.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stap.1.in') diff --git a/stap.1.in b/stap.1.in index 7736a612..0e7a51f4 100644 --- a/stap.1.in +++ b/stap.1.in @@ -132,7 +132,7 @@ debugging information for $target variables. Unoptimized mode. Disable unused code elision during elaboration. .TP .B \-w -Suppressed warnings mode. Disable warning messages for elided code in user script. +Suppressed warnings mode. Disables all warning messages. .TP .BI \-b Use bulk mode (percpu files) for kernel-to-user data transfer. -- cgit