#include <oprof_start.h>
Public Member Functions | |
oprof_start () | |
Data Fields | |
QTabWidget * | setup_config_tab |
QWidget * | counter_setup_page |
QGroupBox * | counter_group |
QListView * | events_list |
QCheckBox * | os_ring_count_cb |
QCheckBox * | user_ring_count_cb |
QLabel * | TextLabel1_2 |
QLineEdit * | event_count_edit |
QButtonGroup * | unit_mask_group |
QCheckBox * | check0 |
QCheckBox * | check1 |
QCheckBox * | check2 |
QCheckBox * | check3 |
QCheckBox * | check4 |
QCheckBox * | check5 |
QCheckBox * | check6 |
QCheckBox * | check7 |
QCheckBox * | check11 |
QCheckBox * | check13 |
QCheckBox * | check15 |
QCheckBox * | check10 |
QCheckBox * | check14 |
QCheckBox * | check9 |
QCheckBox * | check8 |
QCheckBox * | check12 |
QLabel * | event_help_label |
QWidget * | configuration_page |
QLabel * | TextLabel1 |
QLineEdit * | kernel_filename_edit |
QToolButton * | kernel_filename_tb |
QCheckBox * | no_vmlinux |
QLineEdit * | buffer_size_edit |
QLineEdit * | note_table_size_edit |
QLabel * | cpu_buffer_size_label |
QLineEdit * | cpu_buffer_size_edit |
QLabel * | buffer_size_label |
QLabel * | note_table_size_label |
QLineEdit * | buffer_watershed_edit |
QLabel * | buffer_watershed_label |
QCheckBox * | verbose |
QCheckBox * | separate_lib_cb |
QCheckBox * | separate_kernel_cb |
QCheckBox * | separate_cpu_cb |
QCheckBox * | separate_thread_cb |
QLabel * | callgraph_depth_label |
QLineEdit * | callgraph_depth_edit |
QLabel * | daemon_label |
QPushButton * | start_profiler_btn |
QPushButton * | flush_profiler_data_btn |
QPushButton * | stop_profiler_btn |
QPushButton * | reset_sample_files_btn |
QPushButton * | quit_and_save_btn |
Protected Slots | |
void | choose_kernel_filename () |
select the kernel image filename | |
void | on_flush_profiler_data () |
flush profiler | |
void | on_start_profiler () |
start profiler | |
void | on_stop_profiler () |
stop profiler | |
void | event_selected () |
events selection change | |
void | event_over (Q3ListViewItem *) |
the mouse is over an event | |
void | on_separate_kernel_cb_changed (int) |
state of separate_kernel_cb changed | |
void | on_reset_sample_files () |
reset sample files | |
void | accept () |
close the dialog | |
void | closeEvent (QCloseEvent *e) |
WM hide event. | |
void | timerEvent (QTimerEvent *e) |
timer event | |
virtual void | languageChange () |
virtual void | event_over (QListViewItem *) |
Protected Attributes | |
QVBoxLayout * | oprof_start_baseLayout |
QVBoxLayout * | counter_setup_pageLayout |
QVBoxLayout * | counter_groupLayout |
QHBoxLayout * | Layout10 |
QVBoxLayout * | Layout9 |
QHBoxLayout * | Layout16 |
QSpacerItem * | Spacer13_2 |
QGridLayout * | unit_mask_groupLayout |
QSpacerItem * | Spacer14 |
QVBoxLayout * | configuration_pageLayout |
QSpacerItem * | Spacer9 |
QHBoxLayout * | Layout11 |
QHBoxLayout * | Layout12 |
QSpacerItem * | Spacer11 |
QGridLayout * | Layout11_2 |
QGridLayout * | Layout36 |
QSpacerItem * | Spacer12 |
QVBoxLayout * | Layout34 |
QHBoxLayout * | Layout33 |
QHBoxLayout * | Layout37 |
QSpacerItem * | Spacer5 |
Private Types | |
typedef std::map< std::string, event_setting > | event_setting_map |
current event configs for each counter | |
Private Member Functions | |
void | fill_events_listbox () |
the counter combo has been activated | |
void | fill_events () |
fill the event details and gui setup | |
op_event_descr const & | locate_event (std::string const &name) const |
find an event description by name | |
void | record_selected_event_config () |
update config on user change | |
bool | record_config () |
update config and validate | |
void | get_unit_mask_part (op_event_descr const &descr, uint num, bool selected, uint &mask) |
calculate unit mask for given event and unit mask part | |
uint | get_unit_mask (op_event_descr const &descr) |
calculate unit mask for given event | |
void | setup_unit_masks (op_event_descr const &descr) |
set the unit mask widgets for given event | |
uint | max_perf_count () const |
return the maximum perf counter value for the current cpu type | |
void | display_event (op_event_descr const &descrp) |
show an event's settings | |
void | hide_masks (void) |
hide unit mask widgets | |
void | read_set_events () |
read the events set in daemonrc | |
void | setup_default_event () |
use the default event | |
void | load_config_file () |
load the extra config file | |
bool | save_config () |
save the config | |
void | draw_event_list () |
redraw the event list by changing icon status | |
bool | is_selectable_event (Q3ListViewItem *item) |
return true if item is selectable or already selected | |
bool | alloc_selected_events () const |
try to alloc counters for the selected_events | |
Private Attributes | |
QIntValidator * | event_count_validator |
validator for event count | |
std::vector< op_event_descr > | v_events |
all available events for this hardware | |
event_setting_map | event_cfgs |
std::set< Q3ListViewItem * > | selected_events |
Q3ListViewItem * | current_event |
config_setting | config |
current config | |
std::string | user_dir |
the expansion of "~" directory | |
op_cpu | cpu_type |
CPU type. | |
double | cpu_speed |
CPU speed in MHz. | |
uint | op_nr_counters |
total number of available HW counters | |
unsigned long | total_nr_interrupts |
Total number of samples for this run. |
Definition at line 52 of file oprof_start.h.
typedef std::map<std::string, event_setting> oprof_start::event_setting_map [private] |
current event configs for each counter
Definition at line 142 of file oprof_start.h.
oprof_start::oprof_start | ( | ) |
Definition at line 123 of file oprof_start.cpp.
References config_setting::buffer_size, oprof_start_base::buffer_size_edit, config_setting::buffer_watershed, oprof_start_base::buffer_watershed_edit, oprof_start_base::buffer_watershed_label, config_setting::callgraph_depth, oprof_start_base::callgraph_depth_edit, oprof_start_base::callgraph_depth_label, config, oprof_start_base::counter_setup_page, config_setting::cpu_buffer_size, oprof_start_base::cpu_buffer_size_edit, oprof_start_base::cpu_buffer_size_label, CPU_TIMER_INT, do_exec_command(), oprof_start_base::event_count_edit, event_count_validator, event_selected(), fill_events(), green_pixmap, green_xpm, hide_masks(), config_setting::kernel_filename, oprof_start_base::kernel_filename_edit, config_setting::no_kernel, oprof_start_base::no_vmlinux, config_setting::note_table_size, oprof_start_base::note_table_size_edit, oprof_start_base::note_table_size_label, OP_BINDIR, op_file_readable(), op_get_cpu_type(), op_get_interface(), op_get_nr_counters(), OP_INTERFACE_26, OP_INTERFACE_NO_GOOD, OP_MAX_BUF_SIZE, OP_MAX_CPU_BUF_SIZE, OP_MAX_NOTE_TABLE_SIZE, OP_MIN_BUF_SIZE, OP_MIN_NOTE_TABLE_SIZE, op_nr_counters, red_pixmap, red_xpm, config_setting::separate_cpu, oprof_start_base::separate_cpu_cb, config_setting::separate_kernel, oprof_start_base::separate_kernel_cb, config_setting::separate_lib, oprof_start_base::separate_lib_cb, config_setting::separate_thread, oprof_start_base::separate_thread_cb, oprof_start_base::setup_config_tab, timerEvent(), and config_setting::verbose.
void oprof_start::accept | ( | ) | [protected, slot] |
close the dialog
Definition at line 401 of file oprof_start.cpp.
References record_selected_event_config(), and save_config().
Referenced by closeEvent().
bool oprof_start::alloc_selected_events | ( | ) | const [private] |
try to alloc counters for the selected_events
Definition at line 515 of file oprof_start.cpp.
References events, find_event_by_name(), map_event_to_counter(), and selected_events.
Referenced by event_selected(), and is_selectable_event().
void oprof_start::choose_kernel_filename | ( | ) | [protected, virtual, slot] |
select the kernel image filename
Reimplemented from oprof_start_base.
Definition at line 603 of file oprof_start.cpp.
References do_open_file_or_dir(), and oprof_start_base::kernel_filename_edit.
void oprof_start::closeEvent | ( | QCloseEvent * | e | ) | [protected, slot] |
WM hide event.
Definition at line 412 of file oprof_start.cpp.
References accept().
void oprof_start::display_event | ( | op_event_descr const & | descrp | ) | [private] |
show an event's settings
Definition at line 463 of file oprof_start.cpp.
References event_setting::count, event_cfgs, oprof_start_base::event_count_edit, event_count_validator, max_perf_count(), op_event_descr::min_count, op_event_descr::name, event_setting::os_ring_count, oprof_start_base::os_ring_count_cb, setup_unit_masks(), event_setting::user_ring_count, and oprof_start_base::user_ring_count_cb.
Referenced by event_selected().
void oprof_start::draw_event_list | ( | ) | [private] |
redraw the event list by changing icon status
Definition at line 503 of file oprof_start.cpp.
References oprof_start_base::events_list, green_pixmap, is_selectable_event(), Q3ListViewItem, and red_pixmap.
Referenced by event_selected().
void oprof_start_base::event_over | ( | QListViewItem * | ) | [protected, virtual, slot, inherited] |
Definition at line 436 of file oprof_start.base.cpp.
Referenced by oprof_start_base::oprof_start_base().
void oprof_start::event_over | ( | Q3ListViewItem * | item | ) | [protected, slot] |
the mouse is over an event
Definition at line 577 of file oprof_start.cpp.
References oprof_start_base::event_help_label, op_event_descr::help_str, is_selectable_event(), locate_event(), Q3ListViewItem, and selected_events.
void oprof_start::event_selected | ( | ) | [protected, virtual, slot] |
events selection change
Reimplemented from oprof_start_base.
Definition at line 533 of file oprof_start.cpp.
References alloc_selected_events(), current_event, display_event(), draw_event_list(), oprof_start_base::events_list, locate_event(), Q3ListViewItem, and selected_events.
Referenced by oprof_start().
void oprof_start::fill_events | ( | ) | [private] |
fill the event details and gui setup
Definition at line 215 of file oprof_start.cpp.
References op_event_descr::counter_mask, CPU_RTC, cpu_speed, op_unit_mask::default_mask, event_cfgs, op_event::event_next, events, oprof_start_base::events_list, fill_events_listbox(), op_event_descr::help_str, list_entry, list_for_each, load_config_file(), op_event_descr::min_count, op_event_descr::name, op_events(), op_nr_counters, read_set_events(), op_event_descr::unit, v_events, and op_event_descr::val.
Referenced by oprof_start().
void oprof_start::fill_events_listbox | ( | ) | [private] |
the counter combo has been activated
Definition at line 449 of file oprof_start.cpp.
References oprof_start_base::events_list, Q3ListViewItem, and v_events.
Referenced by fill_events().
uint oprof_start::get_unit_mask | ( | op_event_descr const & | descr | ) | [private] |
calculate unit mask for given event
Definition at line 737 of file oprof_start.cpp.
References oprof_start_base::check0, oprof_start_base::check1, oprof_start_base::check10, oprof_start_base::check11, oprof_start_base::check12, oprof_start_base::check13, oprof_start_base::check14, oprof_start_base::check15, oprof_start_base::check2, oprof_start_base::check3, oprof_start_base::check4, oprof_start_base::check5, oprof_start_base::check6, oprof_start_base::check7, oprof_start_base::check8, oprof_start_base::check9, op_unit_mask::default_mask, get_unit_mask_part(), op_event_descr::unit, op_unit_mask::unit_type_mask, and utm_mandatory.
Referenced by record_selected_event_config().
void oprof_start::get_unit_mask_part | ( | op_event_descr const & | descr, | |
uint | num, | |||
bool | selected, | |||
uint & | mask | |||
) | [private] |
calculate unit mask for given event and unit mask part
Definition at line 721 of file oprof_start.cpp.
References op_unit_mask::num, op_unit_mask::um, op_event_descr::unit, op_unit_mask::unit_type_mask, utm_bitmask, and op_unit_mask::op_described_um::value.
Referenced by get_unit_mask().
void oprof_start::hide_masks | ( | void | ) | [private] |
hide unit mask widgets
Definition at line 770 of file oprof_start.cpp.
References oprof_start_base::check0, oprof_start_base::check1, oprof_start_base::check10, oprof_start_base::check11, oprof_start_base::check12, oprof_start_base::check13, oprof_start_base::check14, oprof_start_base::check15, oprof_start_base::check2, oprof_start_base::check3, oprof_start_base::check4, oprof_start_base::check5, oprof_start_base::check6, oprof_start_base::check7, oprof_start_base::check8, and oprof_start_base::check9.
Referenced by oprof_start(), and setup_unit_masks().
bool oprof_start::is_selectable_event | ( | Q3ListViewItem * | item | ) | [private] |
return true if item is selectable or already selected
Definition at line 486 of file oprof_start.cpp.
References alloc_selected_events(), and selected_events.
Referenced by draw_event_list(), and event_over().
void oprof_start_base::languageChange | ( | ) | [protected, virtual, slot, inherited] |
Definition at line 368 of file oprof_start.base.cpp.
References oprof_start_base::buffer_size_edit, oprof_start_base::buffer_size_label, oprof_start_base::buffer_watershed_label, oprof_start_base::callgraph_depth_label, oprof_start_base::check0, oprof_start_base::check1, oprof_start_base::check10, oprof_start_base::check11, oprof_start_base::check12, oprof_start_base::check13, oprof_start_base::check14, oprof_start_base::check15, oprof_start_base::check2, oprof_start_base::check3, oprof_start_base::check4, oprof_start_base::check5, oprof_start_base::check6, oprof_start_base::check7, oprof_start_base::check8, oprof_start_base::check9, oprof_start_base::configuration_page, oprof_start_base::counter_group, oprof_start_base::counter_setup_page, oprof_start_base::cpu_buffer_size_label, oprof_start_base::daemon_label, oprof_start_base::event_count_edit, oprof_start_base::event_help_label, oprof_start_base::events_list, oprof_start_base::flush_profiler_data_btn, oprof_start_base::kernel_filename_edit, oprof_start_base::kernel_filename_tb, oprof_start_base::no_vmlinux, oprof_start_base::note_table_size_label, oprof_start_base::os_ring_count_cb, oprof_start_base::quit_and_save_btn, oprof_start_base::reset_sample_files_btn, oprof_start_base::separate_cpu_cb, oprof_start_base::separate_kernel_cb, oprof_start_base::separate_lib_cb, oprof_start_base::separate_thread_cb, oprof_start_base::setup_config_tab, oprof_start_base::start_profiler_btn, oprof_start_base::stop_profiler_btn, oprof_start_base::TextLabel1, oprof_start_base::TextLabel1_2, oprof_start_base::unit_mask_group, and oprof_start_base::user_ring_count_cb.
Referenced by oprof_start_base::oprof_start_base().
void oprof_start::load_config_file | ( | ) | [private] |
load the extra config file
Definition at line 379 of file oprof_start.cpp.
References check_and_create_config_dir(), config, and get_config_filename().
Referenced by fill_events().
op_event_descr const& oprof_start::locate_event | ( | std::string const & | name | ) | const [private] |
find an event description by name
Referenced by event_over(), event_selected(), on_start_profiler(), record_selected_event_config(), and save_config().
uint oprof_start::max_perf_count | ( | ) | const [private] |
return the maximum perf counter value for the current cpu type
Definition at line 837 of file oprof_start.cpp.
References CPU_RTC, OP_MAX_PERF_COUNT, and OP_MAX_RTC_COUNT.
Referenced by display_event(), and on_start_profiler().
void oprof_start::on_flush_profiler_data | ( | ) | [protected, virtual, slot] |
flush profiler
Reimplemented from oprof_start_base.
Definition at line 843 of file oprof_start.cpp.
References do_exec_command(), and OP_BINDIR.
void oprof_start::on_reset_sample_files | ( | ) | [protected, virtual, slot] |
reset sample files
Reimplemented from oprof_start_base.
Definition at line 1055 of file oprof_start.cpp.
References oprof_start_base::daemon_label, do_exec_command(), and OP_BINDIR.
void oprof_start::on_separate_kernel_cb_changed | ( | int | state | ) | [protected, virtual, slot] |
state of separate_kernel_cb changed
Reimplemented from oprof_start_base.
Definition at line 1049 of file oprof_start.cpp.
References oprof_start_base::separate_lib_cb.
void oprof_start::on_start_profiler | ( | ) | [protected, virtual, slot] |
start profiler
Reimplemented from oprof_start_base.
Definition at line 856 of file oprof_start.cpp.
References config, CPU_TIMER_INT, do_exec_command(), event_cfgs, oprof_start_base::events_list, locate_event(), max_perf_count(), op_event_descr::min_count, op_event_descr::name, on_stop_profiler(), OP_BINDIR, Q3ListViewItem, record_selected_event_config(), save_config(), timerEvent(), total_nr_interrupts, op_event_descr::unit, op_unit_mask::unit_type_mask, utm_bitmask, and config_setting::verbose.
void oprof_start::on_stop_profiler | ( | ) | [protected, virtual, slot] |
stop profiler
Reimplemented from oprof_start_base.
Definition at line 1035 of file oprof_start.cpp.
References do_exec_command(), OP_BINDIR, and timerEvent().
Referenced by on_start_profiler().
void oprof_start::read_set_events | ( | ) | [private] |
read the events set in daemonrc
Definition at line 317 of file oprof_start.cpp.
References event_cfgs, oprof_start_base::events_list, get_config_filename(), is_prefix(), op_lexical_cast(), Q3ListViewItem, separate_token(), setup_default_event(), and split().
Referenced by fill_events().
bool oprof_start::record_config | ( | ) | [private] |
update config and validate
Definition at line 634 of file oprof_start.cpp.
References config_setting::buffer_size, oprof_start_base::buffer_size_edit, config_setting::buffer_watershed, oprof_start_base::buffer_watershed_edit, config_setting::callgraph_depth, oprof_start_base::callgraph_depth_edit, config, config_setting::cpu_buffer_size, oprof_start_base::cpu_buffer_size_edit, error(), config_setting::kernel_filename, oprof_start_base::kernel_filename_edit, config_setting::no_kernel, oprof_start_base::no_vmlinux, config_setting::note_table_size, oprof_start_base::note_table_size_edit, OP_MAX_BUF_SIZE, OP_MAX_CPU_BUF_SIZE, OP_MAX_NOTE_TABLE_SIZE, OP_MIN_BUF_SIZE, OP_MIN_CPU_BUF_SIZE, OP_MIN_NOTE_TABLE_SIZE, config_setting::separate_cpu, oprof_start_base::separate_cpu_cb, config_setting::separate_kernel, oprof_start_base::separate_kernel_cb, config_setting::separate_lib, oprof_start_base::separate_lib_cb, config_setting::separate_thread, oprof_start_base::separate_thread_cb, and config_setting::verbose.
Referenced by save_config().
void oprof_start::record_selected_event_config | ( | ) | [private] |
update config on user change
Definition at line 615 of file oprof_start.cpp.
References current_event, event_cfgs, oprof_start_base::event_count_edit, get_unit_mask(), locate_event(), op_default_event_descr::name, oprof_start_base::os_ring_count_cb, and oprof_start_base::user_ring_count_cb.
Referenced by accept(), and on_start_profiler().
bool oprof_start::save_config | ( | ) | [private] |
save the config
Definition at line 947 of file oprof_start.cpp.
References config_setting::buffer_size, config_setting::buffer_watershed, config_setting::callgraph_depth, config, event_setting::count, config_setting::cpu_buffer_size, do_exec_command(), event_cfgs, oprof_start_base::events_list, config_setting::kernel_filename, locate_event(), op_event_descr::name, config_setting::no_kernel, config_setting::note_table_size, OP_BINDIR, op_file_readable(), op_get_interface(), OP_INTERFACE_24, op_lexical_cast(), event_setting::os_ring_count, Q3ListViewItem, record_config(), config_setting::separate_cpu, config_setting::separate_kernel, config_setting::separate_lib, config_setting::separate_thread, event_setting::umask, and event_setting::user_ring_count.
Referenced by accept(), and on_start_profiler().
void oprof_start::setup_default_event | ( | ) | [private] |
use the default event
Definition at line 301 of file oprof_start.cpp.
References op_default_event_descr::count, event_cfgs, oprof_start_base::events_list, op_default_event_descr::name, op_default_event(), Q3ListViewItem, and op_default_event_descr::um.
Referenced by read_set_events().
void oprof_start::setup_unit_masks | ( | op_event_descr const & | descr | ) | [private] |
set the unit mask widgets for given event
Definition at line 791 of file oprof_start.cpp.
References check, oprof_start_base::check0, oprof_start_base::check1, oprof_start_base::check10, oprof_start_base::check11, oprof_start_base::check12, oprof_start_base::check13, oprof_start_base::check14, oprof_start_base::check15, oprof_start_base::check2, oprof_start_base::check3, oprof_start_base::check4, oprof_start_base::check5, oprof_start_base::check6, oprof_start_base::check7, oprof_start_base::check8, oprof_start_base::check9, op_unit_mask::op_described_um::desc, event_cfgs, hide_masks(), op_event_descr::name, op_unit_mask::num, oprof_start_base::setup_config_tab, op_unit_mask::um, op_default_event_descr::um, event_setting::umask, op_event_descr::unit, oprof_start_base::unit_mask_group, op_unit_mask::unit_type_mask, utm_exclusive, utm_mandatory, and op_unit_mask::op_described_um::value.
Referenced by display_event().
void oprof_start::timerEvent | ( | QTimerEvent * | e | ) | [protected, slot] |
timer event
Definition at line 418 of file oprof_start.cpp.
References oprof_start_base::daemon_label, oprof_start_base::flush_profiler_data_btn, daemon_status::nr_interrupts, oprof_start_base::reset_sample_files_btn, daemon_status::running, oprof_start_base::start_profiler_btn, oprof_start_base::stop_profiler_btn, and total_nr_interrupts.
Referenced by on_start_profiler(), on_stop_profiler(), and oprof_start().
QLineEdit* oprof_start_base::buffer_size_edit [inherited] |
Definition at line 70 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start(), oprof_start_base::oprof_start_base(), and record_config().
QLabel* oprof_start_base::buffer_size_label [inherited] |
Definition at line 74 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), and oprof_start_base::oprof_start_base().
QLineEdit* oprof_start_base::buffer_watershed_edit [inherited] |
Definition at line 76 of file oprof_start.base.h.
Referenced by oprof_start(), oprof_start_base::oprof_start_base(), and record_config().
QLabel* oprof_start_base::buffer_watershed_label [inherited] |
Definition at line 77 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start(), and oprof_start_base::oprof_start_base().
QLineEdit* oprof_start_base::callgraph_depth_edit [inherited] |
Definition at line 84 of file oprof_start.base.h.
Referenced by oprof_start(), oprof_start_base::oprof_start_base(), and record_config().
QLabel* oprof_start_base::callgraph_depth_label [inherited] |
Definition at line 83 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start(), and oprof_start_base::oprof_start_base().
QCheckBox* oprof_start_base::check0 [inherited] |
Definition at line 48 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check1 [inherited] |
Definition at line 49 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check10 [inherited] |
Definition at line 59 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check11 [inherited] |
Definition at line 56 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check12 [inherited] |
Definition at line 63 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check13 [inherited] |
Definition at line 57 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check14 [inherited] |
Definition at line 60 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check15 [inherited] |
Definition at line 58 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check2 [inherited] |
Definition at line 50 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check3 [inherited] |
Definition at line 51 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check4 [inherited] |
Definition at line 52 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check5 [inherited] |
Definition at line 53 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check6 [inherited] |
Definition at line 54 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check7 [inherited] |
Definition at line 55 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check8 [inherited] |
Definition at line 62 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QCheckBox* oprof_start_base::check9 [inherited] |
Definition at line 61 of file oprof_start.base.h.
Referenced by get_unit_mask(), hide_masks(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
config_setting oprof_start::config [private] |
current config
Definition at line 152 of file oprof_start.h.
Referenced by load_config_file(), on_start_profiler(), oprof_start(), record_config(), and save_config().
QWidget* oprof_start_base::configuration_page [inherited] |
Definition at line 65 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), and oprof_start_base::oprof_start_base().
QVBoxLayout* oprof_start_base::configuration_pageLayout [protected, inherited] |
Definition at line 102 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QGroupBox* oprof_start_base::counter_group [inherited] |
Definition at line 41 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), and oprof_start_base::oprof_start_base().
QVBoxLayout* oprof_start_base::counter_groupLayout [protected, inherited] |
Definition at line 95 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QWidget* oprof_start_base::counter_setup_page [inherited] |
Definition at line 40 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start(), and oprof_start_base::oprof_start_base().
QVBoxLayout* oprof_start_base::counter_setup_pageLayout [protected, inherited] |
Definition at line 94 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QLineEdit* oprof_start_base::cpu_buffer_size_edit [inherited] |
Definition at line 73 of file oprof_start.base.h.
Referenced by oprof_start(), oprof_start_base::oprof_start_base(), and record_config().
QLabel* oprof_start_base::cpu_buffer_size_label [inherited] |
Definition at line 72 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start(), and oprof_start_base::oprof_start_base().
double oprof_start::cpu_speed [private] |
op_cpu oprof_start::cpu_type [private] |
CPU type.
Definition at line 158 of file oprof_start.h.
Q3ListViewItem* oprof_start::current_event [private] |
Definition at line 149 of file oprof_start.h.
Referenced by event_selected(), and record_selected_event_config().
QLabel* oprof_start_base::daemon_label [inherited] |
Definition at line 85 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), on_reset_sample_files(), oprof_start_base::oprof_start_base(), and timerEvent().
event_setting_map oprof_start::event_cfgs [private] |
Definition at line 143 of file oprof_start.h.
Referenced by display_event(), fill_events(), on_start_profiler(), read_set_events(), record_selected_event_config(), save_config(), setup_default_event(), and setup_unit_masks().
QLineEdit* oprof_start_base::event_count_edit [inherited] |
Definition at line 46 of file oprof_start.base.h.
Referenced by display_event(), oprof_start_base::languageChange(), oprof_start(), oprof_start_base::oprof_start_base(), and record_selected_event_config().
QIntValidator* oprof_start::event_count_validator [private] |
validator for event count
Definition at line 136 of file oprof_start.h.
Referenced by display_event(), and oprof_start().
QLabel* oprof_start_base::event_help_label [inherited] |
Definition at line 64 of file oprof_start.base.h.
Referenced by event_over(), oprof_start_base::languageChange(), and oprof_start_base::oprof_start_base().
QListView* oprof_start_base::events_list [inherited] |
Definition at line 42 of file oprof_start.base.h.
Referenced by draw_event_list(), event_selected(), fill_events(), fill_events_listbox(), oprof_start_base::languageChange(), on_start_profiler(), oprof_start_base::oprof_start_base(), read_set_events(), save_config(), and setup_default_event().
QPushButton* oprof_start_base::flush_profiler_data_btn [inherited] |
Definition at line 87 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and timerEvent().
QLineEdit* oprof_start_base::kernel_filename_edit [inherited] |
Definition at line 67 of file oprof_start.base.h.
Referenced by choose_kernel_filename(), oprof_start_base::languageChange(), oprof_start(), oprof_start_base::oprof_start_base(), and record_config().
QToolButton* oprof_start_base::kernel_filename_tb [inherited] |
Definition at line 68 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), and oprof_start_base::oprof_start_base().
QHBoxLayout* oprof_start_base::Layout10 [protected, inherited] |
Definition at line 96 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QHBoxLayout* oprof_start_base::Layout11 [protected, inherited] |
Definition at line 104 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QGridLayout* oprof_start_base::Layout11_2 [protected, inherited] |
Definition at line 107 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QHBoxLayout* oprof_start_base::Layout12 [protected, inherited] |
Definition at line 105 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QHBoxLayout* oprof_start_base::Layout16 [protected, inherited] |
Definition at line 98 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QHBoxLayout* oprof_start_base::Layout33 [protected, inherited] |
Definition at line 111 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QVBoxLayout* oprof_start_base::Layout34 [protected, inherited] |
Definition at line 110 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QGridLayout* oprof_start_base::Layout36 [protected, inherited] |
Definition at line 108 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QHBoxLayout* oprof_start_base::Layout37 [protected, inherited] |
Definition at line 112 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QVBoxLayout* oprof_start_base::Layout9 [protected, inherited] |
Definition at line 97 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QCheckBox* oprof_start_base::no_vmlinux [inherited] |
Definition at line 69 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start(), oprof_start_base::oprof_start_base(), and record_config().
QLineEdit* oprof_start_base::note_table_size_edit [inherited] |
Definition at line 71 of file oprof_start.base.h.
Referenced by oprof_start(), oprof_start_base::oprof_start_base(), and record_config().
QLabel* oprof_start_base::note_table_size_label [inherited] |
Definition at line 75 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start(), and oprof_start_base::oprof_start_base().
uint oprof_start::op_nr_counters [private] |
total number of available HW counters
Definition at line 164 of file oprof_start.h.
Referenced by fill_events(), and oprof_start().
QVBoxLayout* oprof_start_base::oprof_start_baseLayout [protected, inherited] |
Definition at line 93 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QCheckBox* oprof_start_base::os_ring_count_cb [inherited] |
Definition at line 43 of file oprof_start.base.h.
Referenced by display_event(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and record_selected_event_config().
QPushButton* oprof_start_base::quit_and_save_btn [inherited] |
Definition at line 90 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), and oprof_start_base::oprof_start_base().
QPushButton* oprof_start_base::reset_sample_files_btn [inherited] |
Definition at line 89 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and timerEvent().
std::set<Q3ListViewItem *> oprof_start::selected_events [private] |
The currently selected events. We must track this because with multiple selection listbox QT doesn't allow to know what is the last selected item. events_selected() update it
Definition at line 148 of file oprof_start.h.
Referenced by alloc_selected_events(), event_over(), event_selected(), and is_selectable_event().
QCheckBox* oprof_start_base::separate_cpu_cb [inherited] |
Definition at line 81 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start(), oprof_start_base::oprof_start_base(), and record_config().
QCheckBox* oprof_start_base::separate_kernel_cb [inherited] |
Definition at line 80 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start(), oprof_start_base::oprof_start_base(), and record_config().
QCheckBox* oprof_start_base::separate_lib_cb [inherited] |
Definition at line 79 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), on_separate_kernel_cb_changed(), oprof_start(), oprof_start_base::oprof_start_base(), and record_config().
QCheckBox* oprof_start_base::separate_thread_cb [inherited] |
Definition at line 82 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start(), oprof_start_base::oprof_start_base(), and record_config().
QTabWidget* oprof_start_base::setup_config_tab [inherited] |
Definition at line 39 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QSpacerItem* oprof_start_base::Spacer11 [protected, inherited] |
Definition at line 106 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QSpacerItem* oprof_start_base::Spacer12 [protected, inherited] |
Definition at line 109 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QSpacerItem* oprof_start_base::Spacer13_2 [protected, inherited] |
Definition at line 99 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QSpacerItem* oprof_start_base::Spacer14 [protected, inherited] |
Definition at line 101 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QSpacerItem* oprof_start_base::Spacer5 [protected, inherited] |
Definition at line 113 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QSpacerItem* oprof_start_base::Spacer9 [protected, inherited] |
Definition at line 103 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
QPushButton* oprof_start_base::start_profiler_btn [inherited] |
Definition at line 86 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and timerEvent().
QPushButton* oprof_start_base::stop_profiler_btn [inherited] |
Definition at line 88 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and timerEvent().
QLabel* oprof_start_base::TextLabel1 [inherited] |
Definition at line 66 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), and oprof_start_base::oprof_start_base().
QLabel* oprof_start_base::TextLabel1_2 [inherited] |
Definition at line 45 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), and oprof_start_base::oprof_start_base().
unsigned long oprof_start::total_nr_interrupts [private] |
Total number of samples for this run.
Definition at line 167 of file oprof_start.h.
Referenced by on_start_profiler(), and timerEvent().
QButtonGroup* oprof_start_base::unit_mask_group [inherited] |
Definition at line 47 of file oprof_start.base.h.
Referenced by oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and setup_unit_masks().
QGridLayout* oprof_start_base::unit_mask_groupLayout [protected, inherited] |
Definition at line 100 of file oprof_start.base.h.
Referenced by oprof_start_base::oprof_start_base().
std::string oprof_start::user_dir [private] |
the expansion of "~" directory
Definition at line 155 of file oprof_start.h.
QCheckBox* oprof_start_base::user_ring_count_cb [inherited] |
Definition at line 44 of file oprof_start.base.h.
Referenced by display_event(), oprof_start_base::languageChange(), oprof_start_base::oprof_start_base(), and record_selected_event_config().
std::vector<op_event_descr> oprof_start::v_events [private] |
all available events for this hardware
Definition at line 139 of file oprof_start.h.
Referenced by fill_events(), and fill_events_listbox().
QCheckBox* oprof_start_base::verbose [inherited] |
Definition at line 78 of file oprof_start.base.h.