aboutsummaryrefslogtreecommitdiffstats
path: root/trace-dialog.c
Commit message (Collapse)AuthorAge
* Rewrote set_cpu_to_rts() and iterate() for increased performance and accuracy.Jonathan Herman2012-10-05
| | | | | | Container job information functions, like displaying the job in the server's boxes or the currently running task in pop-ups, rewritten to take advantage of these changes.
* Fix address of the Free Software FoundationUwe Kleine-König2011-03-22
| | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Push and pop cursorSteven Rostedt2011-02-21
| | | | | | | | | Use a stack to save off the parent window cursor and restoring it via the stack. This way multiple trace_set_cursor() will work with multiple trace_put_cursor(). We can save and restore the cursor of the main window at various levels. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kerenlshark: Only set cursor or freeze window if parent existsSteven Rostedt2011-02-21
| | | | | | If parent_window is NULL have both set_cursor and freeze do nothing. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Provide a way to freeze the main windowSteven Rostedt2011-02-21
| | | | | | | | | | There may be cases that we need to freeze the main window in order to provide updates to other widgets or the cursor while working to update something. Add trace_freeze_all() and trace_unfreeze_all() Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Add methods to change the parent window guiSteven Rostedt2011-02-21
| | | | | | | Add trace_set_cursor() and trace_put_cursor() to set and unset the cursor of the parent window. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Have trace_dialog() use parent_window if parent is NULLSteven Rostedt2011-02-21
| | | | | | | Some places in the code does not have access to a window. Default to the parent window if the parent is not supplied. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Have trace_create_combo_box() be able to just return combo boxSteven Rostedt2010-06-22
| | | | | | | | | | | Instead of requiring trace_create_combo_box() to work with a hbox, change it so passing in a NULL hbox will just produce a combo box and ignore the text (for the label). This will allow us to still use this helper function when we need to create the label and combo on something other than a hbox. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Add extension to files being savedSteven Rostedt2010-06-21
| | | | | | | | Change the file dialog to when a "waring" is set (which is when we plan on saving a file) to automatically add the extension if the extension does not already exist. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernlshark: Add TRACE_DIALOG_FILTER_FILTERSteven Rostedt2010-06-21
| | | | | | | Add TRACE_DIALOG_FILTER_FILTER and have the KernelShark filter files use the *.ksf extension. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Add trace_get_file_dialog_filter() to set default filterSteven Rostedt2010-06-21
| | | | | | | Add trace_get_file_dialog_filter() to add an interface to set the default filter of files for a given operation. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Add filters to dialog menuSteven Rostedt2010-06-21
| | | | | | | Add filters to the file chooser dialog menu. Now the user can pick from *.dat or *.kss files. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Have gui warning reset errnoSteven Rostedt2010-06-16
| | | | | | After printing a gui warning, reset errno. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Add newline between perror and message in warningSteven Rostedt2010-06-16
| | | | | | | In showing a warning dialog, if errno exists, then add a new line between the message and the errno message. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernel-shark: Only warn in file dialog if file existsSteven Rostedt2010-06-14
| | | | | | | The warning of the file dialog will happen everytime even if the file does not exist. Fix that. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Allow to record no commandSteven Rostedt2010-06-14
| | | | | | | When no command is selected, the recording happens until the stop button is hit. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Have file dialog ask if we want to overwriteSteven Rostedt2010-06-14
| | | | | | | | If someone selects a file that already exists and the command will be used to overwrite the file. Ask the user if they want to overwrite it instead of just doing so. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Add helper function trace_create_combo_box()Steven Rostedt2010-06-11
| | | | | | | | Add helper function trace_create_combo_box() and use it for in trace-filter.c. This will be used by other functions needing to make a label followed by a combo box. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd/kernelshark/parse-events: Add const char to output functionsSteven Rostedt2010-06-11
| | | | | | Add const char *fmt to die, warning and pr_stat. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Add trace_dialog_register_alt_warning()Steven Rostedt2010-06-11
| | | | | | | | Add trace_dialog_register_alt_warning() that will allow the tools to override the warning messages. To hide warnings from poping up, or to record them elsewhere, this allows to do so. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Add warning dialogsSteven Rostedt2010-04-09
| | | | | | | When a warning happens, show it with a dialog instead of printing to the console. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Move status bar to general code for trace-view and trace-graphSteven Rostedt2010-04-09
| | | | | | | Move the code for the status bar to trace-dialog.c and have trace-view and trace-graph have access to it too. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Created trace_get_file_dialog() to ask for filenameSteven Rostedt2010-04-09
| | | | | | | Added shortcut trace_get_file_dialog() to simplify the asking for a file name. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Add dialog helperSteven Rostedt2010-04-09
Add trace-dialog.c to include a trace_show_help() and trace_dialog() helpers. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>