00001 /** 00002 * @file format_flags.h 00003 * output options 00004 * 00005 * @remark Copyright 2002 OProfile authors 00006 * @remark Read the file COPYING 00007 * 00008 * @author John Levon 00009 * @author Philippe Elie 00010 */ 00011 00012 #ifndef FORMAT_FLAGS_H 00013 #define FORMAT_FLAGS_H 00014 00015 /** 00016 * flags passed to the ctor of an output_symbol object. 00017 * 00018 * \sa format_output::formatter 00019 */ 00020 enum format_flags { 00021 ff_none = 0, 00022 /// a formatted memory address 00023 ff_vma = 1 << 0, 00024 /// output debug filename and line nr. 00025 ff_linenr_info = 1 << 1, 00026 /// output the image name for this line 00027 ff_image_name = 1 << 3, 00028 /// output owning application name 00029 ff_app_name = 1 << 4, 00030 /// output the (demangled) symbol name 00031 ff_symb_name = 1 << 5, 00032 00033 /** @name subset of flags used by opreport_formatter */ 00034 //@{ 00035 /// number of samples 00036 ff_nr_samples = 1 << 6, 00037 /// number of samples accumulated 00038 ff_nr_samples_cumulated = 1 << 7, 00039 /// relative percentage of samples 00040 ff_percent = 1 << 8, 00041 /// relative percentage of samples accumulated 00042 ff_percent_cumulated = 1 << 9, 00043 /** 00044 * Output percentage for details, not relative 00045 * to symbol but relative to the total nr of samples 00046 */ 00047 ff_percent_details = 1 << 10, 00048 /** 00049 * Output percentage for details, not relative 00050 * to symbol but relative to the total nr of samples, 00051 * accumulated 00052 */ 00053 ff_percent_cumulated_details = 1 << 11, 00054 /// output diff value 00055 ff_diff = 1 << 12, 00056 //@} 00057 }; 00058 00059 00060 /** 00061 * General hints about formatting of the columnar output. 00062 */ 00063 enum column_flags { 00064 cf_none = 0, 00065 cf_64bit_vma = 1 << 0, 00066 cf_image_name = 1 << 1 00067 }; 00068 00069 #endif // FORMAT_FLAGS_H
1.6.1