| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
Move the filters around so that the graph filters
are all together, and the list filters are all together.
This makes accessing the filters a bit easier when they
are separate.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
|
| |
The clear_task_menu was being updated by the set_menu_label()
helper function. But that function expects a "comm" passed to it.
The clear_task_menu may be updated when comm is NULL, and this would
cause a strlen(comm) to crash the program.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
Makefile
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On load of event filters, if the list and graph filters are the same,
then make them synced.
On syncing of event filters, if they are already the same, do not ask
which way to sync, just sync them and keep them synced.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On load of task filters, if they are the same, then make them synced.
On syncing of task filters, if they are already the same, do not ask
which way to sync, just sync them and keep them synced.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Update the save/load of the filters to handle the change to make the
List and Graph have separate task filters.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Update the event filters to be like the task filters where the
list and graph event filters are in sync. The user can unsync them
so that the list and graph event filters will be independent.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Now the menu bar has hide tasks that popups a task dialog to
let the user choose what tasks to hide. Selecting tasks via
the menu bar will enable the filter automatically.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a list and graph task filter menu to the menu bar.
The tasks added to this filter are enabled by default.
This also adds a nice feature that you can pick and choose
tasks to filter from a dialog box.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| | |
When the task filters are updated, call the registered callback.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Add the function trace_graph_refresh_filters that redraws the graph
after the filters are updated.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Allow trace_graph_update_filters have the ginfo filters passed to
it. This will give a way to let external users to refresh the graph
filters.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use gtk_dialog_run() and examine the results instead of having
to create a helper structure that is allocated and passed back to
signals.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use gtk_dialog_run() and examine the results instead of having
to create a helper structure that is allocated and passed back to
signals.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use gtk_dialog_run() and examine the results instead of having
to create a helper structure that is allocated and passed back to
signals.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use gtk_dialog_run() and examine the results instead of having
to create a helper structure that is allocated and passed back to
signals.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
To make the task filters more like the event filters, allow the
list and graph to have their own filtering.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
The pop up said "Hide task to filter" which does not make any sense.
Change it to just "Hide task".
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The code that cleaned up parsing the printk_format file never registered
the formats to the pevent code. Any trace_printk() that used bprint()
was not able to be parsed.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The document is inconsistent with its use of time stamp and timestamp
as well as time line and timeline. This patch changes them all to
be single words, except when referencing the GUI labels which have
the space.
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| | |
Reported-by: Darren Hart <dvhltc@us.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| | |
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Install the HTML document on "make install_doc" and have the
kernelshark executable be able to reference that location.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| | |
Add documentation on how to use kernelshark.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
When selecting a cursor with the double click, the zoom tip does
not go away. Clear it on double click.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add a function to handle old gtk libs that do not implement
gtk_widget_set_tooltip_text(). But this compat function only works
with widgets with windows, so there's not much we can do.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| | |
Show tip window to explain how to zoom in and out on the graph.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| | |
Add tooltips to give some information on the markers.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Remove the printf statements that was used for debugging in
trace-filter.c.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
When a warning happens, show it with a dialog instead of printing
to the console.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Move the util functions used by parse-events into a separate file
and compile it with the libparsevents library. Also add "__die()"
equivalent functions that are always available.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a status bar at the bottom of the window and show an info icon
when status exists.
Left mouse button will produce a popup to let the user display
the status information.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The popup menu for removing a task said:
Remove task to filter
when it should be saying:
Remove task from filter
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Make the xml doc under <KernelShark>...</KernelShark> for trace-view
and trace-graph. Also pull out the task filters since the view
and graph in kernelshark share the same filters.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Hooked to the trace-view and trace-graph code to load and save
event and task filters.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add the filter loading and saving to trace-graph. Most of the work
was done already to get trace-view working. This just hooks into
that framework.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Include saving of the task filters to the filter file as well as
the ability to load them.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Add pop-up menu over the rows that will allow to filter on tasks
in trace-view.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Add "Load filters" to trace-view that loads the event filters
saved with a "Save filters".
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Add "Save filters" to "File" menu, where it will allow the user to save
the filters to a file in XML format.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Added shortcut trace_get_file_dialog() to simplify the asking for
a file name.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Add help content and about to menu options. Still need to write
the help content, right now it just points to google.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Add trace-dialog.c to include a trace_show_help() and trace_dialog()
helpers.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add the variable DESTDIR that allows a user to install into
a directory that will later be moved to another host. This
facilitates the creation of distribution packages.
make DESTDIR=/tmp/build prefix=/usr install
Will install the program files into /tmp/build/usr/..
but the program will expect to find itself in the /usr/..
directories.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Separate out the difference between the stable releases and the
developmental ones.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
subst will substitution every occurence of a string with another.
What we want here is just to substitute the last occurence.
That is we want to transform files that end with .1 into .1.install
We do not want to transform every ".1" in a path name into .1.install.
Without this fix you can get errors of this nature.
make prefix=/home/jkacur/rpmbuild/BUILDROOT/trace-cmd-1.0.1-4.fc12.x86_64/usr install_doc
make -C /home/jkacur/rpmbuild/BUILD/trace-cmd-1.0.1/Documentation install
make[1]: *** No rule to make target `/home/jkacur/rpmbuild/BUILD/trace-cmd-1.0.1.install/Documentation/trace-cmd.1', needed by `/home/jkacur/rpmbuild/BUILD/trace-cmd-1.0.1.install/Documentation/trace-cmd.1.install'. Stop.
make: *** [install_doc] Error 2
Signed-off-by: John Kacur <jkacur@redhat.com>
LKML-Reference: <1276099288-3029-3-git-send-email-jkacur@redhat.com>
Use a "substitution reference" instead of a substitution.
A "subst" will change every occurence of a string
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
EXTRAVERSION should be set without a leading period, and then add
the period where necessary in the Makefile
Signed-off-by: John Kacur <jkacur@redhat.com>
LKML-Reference: <1276099288-3029-2-git-send-email-jkacur@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In find_previous_record in the trace-plot, instead of checking if
the last_record is equal to the start_record, simply up the ref count.
Then the free will not free the start_record.
This makes the code a bit cleaner.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| | |
Missed a free_record in the revert of the need to free peek data.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|