aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-04-01autogen.sh: fix config.h.in generationHEADmasterLaurentiu Palcu
This commit: Author: Marko Lindqvist <cazfi74@gmail.com> Date: Fri Feb 8 23:40:46 2013 +0200 configure.ac: fix build with automake-1.13 switched from using AM_CONFIG_HEADER to AC_CONFIG_HEADERS but didn't update the autogen.sh script. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-18configure.ac: fix build with automake-1.13Marko Lindqvist
Replace AM_CONFIG_HEADER removed from automake-1.13 with AC_CONFIG_HEADERS. Remove AM_PROG_CC_STDC completely as there is already equivalent AC_PROG_CC. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
2011-11-14oprofileui: allow build of server without X libsPaul Eggleton
Fix the configure script to allow oprofile-server to be built standalone (without needing GTK+ and other X-requiring libraries) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-28Migrate from gnome-vfs to gio, gnome-vfs is obsolete.Zhai Edwin
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-28After enabling more careful linking within Yocto, a missing library ↵Nitin A Kamble
dependency was found (libm) so add this to the LDFLAGS. This patch avoids this linking error: | make[2]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/oprofileui-0.0+svnr197-r0/trunk/src' | ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -g -std=gnu99 -DPKG_DATA_DIR=\""/usr/share/oprofileui"\" -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o oprofile-viewer main.o client.o archive.o archive_window.o archive_save_window.o view.o report.o parser.o image.o symbol.o module.o symbol_instance.o module_instance.o callee_symbol_instance.o caller_symbol_instance.o state-util.o -pthread -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lxml2 -lgnomevfs-2 -lgmodule-2.0 -lgconf-2 -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lavahi-ui -lgtk-x11-2.0 -lavahi-common -lavahi-client -lavahi-glib -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 ../protocol/libop.a | /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: ^X^B: invalid DSO for symbol `log@@GLIBC_2.0' definition | /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/lib/libm.so.6: could not read symbols: Bad value^M | collect2: ld returned 1 exit status^M | make[2]: *** [oprofile-viewer] Error 1 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Edwin Zhai <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-04README: Increase minimum verison requirement to 0.9.4Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2011-03-14oprofileui: Correctly free GError struct.Lianhao Lu
[YOCTO #865] GError should freed by g_clear_error instead of g_free. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2010-12-10Update communications for new packet layout and to do endian conversionJoshua Lock
Patch from Lianhao Lu <lianhao.lu@intel.com>: "1. Changed packet layout comptible for common network packet layout, and upgraded the protocol version to 5. 2. Changed server/client code to do endian conversion between host/net endian of integer field of protocol packet. 3. In client, fixed an original array dereference error when it needed multiple read operations to get a full response header. 4. In client, fixed an original error happened in the archive->filestat->get command chain. The error happened due to the mismatch of command and response. 5. In both server/code, fixed an error of misusing memset." Fixes Yocto bug #382 [BUGID #382] Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-12-10Only re-send STATUS command after a succesful CONFIGJoshua Lock
Patch from Lianhao Lu <lianhao.lu@intel.com> "It added the checking of the CONFIG response and made it only re-send the STATUS command for successful CONFIG." Fixes Yocto bug #493 [BUGID #493] Signed-off-by: Joshua Lock <josh@linux.intel.com>
2008-07-152008-07-15 Joshua Lock <josh@o-hand.com>josh
* src/window-util.c: * src/window-util.h: These files where renamed to state-util.[ch] and should have been removed with the last commit. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@197 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-07-15 2008-07-02 Joshua Lock <josh@o-hand.com>josh
* data/oprofile-viewer.glade: Remove visible property from window. * src/Makefile.am: * src/main.c (main): * src/window-util.c (get_filename), (get), (get_key_file), (on_unmap), (window_bind_state): * src/window-util.h: Add window-util.[ch], stolen from Tasks, to save window state. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@196 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-07-14Remove avahi-ui.c from POTFILES.inrob
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@195 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-07-022008-07-02 Joshua Lock <josh@o-hand.com>josh
* data/oprofile-viewer.glade: Remove visible property from window. * src/Makefile.am: * src/main.c (main): * src/window-util.c (get_filename), (get), (get_key_file), (on_unmap), (window_bind_state): * src/window-util.h: Add window-util.[ch], stolen from Tasks, to save window state. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@194 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-07-022008-07-02 Richard Purdie <rpurdie@openedhand.com>richard
* src/client.c: * src/archive.c: * src/archive.h: * protocol/command.h: * protocol/response.h: * server/opserver.c: Add the mode field to the filestat structure allowing directories to be detected and ignored since recent oparchive seems to list them. Increase the protocol version since the fields structure changed. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@193 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-07-012008-07-01 Rob Bradford <rob@openedhand.com>rob
* src/report.c (report_generate_from_archive): Use --root in the localhost case in order to get the binaries (and in theory debug information.) git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@192 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-06-30Amend ChangeLog for last fix.josh
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@191 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-06-30Small fix so that the cancel button in the save dialog works.josh
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@190 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-06-302008-06-30 Rob Bradford <rob@openedhand.com>rob
* protocol/command.h: * protocol/response.h: Unbreak backward-compatability for the STATUS command so that we can inform the user that the version is too old. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@189 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-06-282008-06-29 Rob Bradford <rob@openedhand.com>rob
* src/testparser.c (main): Fix lack of initialisation of the opui_config structure. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@188 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-06-26Squashed commit of protocol-reworkrob
2008-06-26 Rob Bradford <rob@openedhand.com> * protocol/command.h: * protocol/response.h: * server/opserver.c (server_response_new), (server_do_command_wrapper), (server_handle_command_start), (server_handle_command_config), (server_handle_command_stop), (server_handle_command_status), (server_handle_command_reset), (server_handle_command_archive), (server_parse_open_file), (server_handle_command_get), (server_handle_command_filestat), (server_handle_command_unknown), (server_handle_command), (server_handle_connection): * src/archive.c (archive_handle_response): * src/archive.h: * src/client.c (client_handle_response_status), (client_handle_response_config), (client_handle_response_stop), (client_handle_response_reset), (client_handle_response_start), (client_handle_response_archive), (client_handle_response_get), (client_handle_response_filestat), (client_channel_read_cb), (client_command_new), (client_send_command), (client_send_command_archive), (client_send_command_get), (client_send_command_filestat), (client_send_command_start), (client_send_command_config), (client_send_command_reset), (client_send_command_stop), (client_send_command_status): * src/client.h: * src/main.c (main_status_response_cb): * src/main.h: Rework client-server protocol. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@187 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-06-062008-06-06 Ross Burton <ross@openedhand.com>ross
* data/oprofile-viewer.desktop.in: Remove Encoding key. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@186 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-06-03Squashed commit of fix-warningsrob
2008-06-03 Rob Bradford <rob@openedhand.com> * server/opserver.c (server_handle_command_config), (server_parse_open_file), (server_handle_connection): * src/client.c (client_channel_read_cb): Fix compiler warnings: Cast protocol buffers correctly. Fix ambiguous if..else.. with bracketing. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@185 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-06-032008-06-03 Ross Burton <ross@openedhand.com>ross
* configure.ac: Look for avahi-ui * src/Makefile.am: * src/avahi-ui.[ch]: Remove avahi-ui source, use the library. * src/main.c: Update. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@184 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-02-182008-02-18 Rob Bradford <rob@openedhand.com>rob
* AUTHORS: * NEWS: * configure.ac: Release 0.2.0. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@181 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-02-18Remove old debian directory.rob
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@178 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-02-152008-02-15 Rob Bradford <rob@openedhand.com>rob
* README: Update required version information for OProfile. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@176 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-02-152008-02-15 Rob Bradford <rob@openedhand.com>rob
* src/main.c: (on_options_clicked), (main_load_default_config), (main): Add command line options to pre-specify the supplementary binary search path. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@175 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-02-11README: Update README to state the best version of oprofile to use.richard
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@174 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-02-11 Fix the protocol for 64/32 bit machine interactionrichard
Add a sanity check for the length parameter git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@173 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-02-11avahi-ui.c: Fix header namerichard
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@172 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-02-052008-02-05 Ross Burton <ross@openedhand.com>ross
* src/archive_window.c: Set the downloading window as transient for the main window. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@171 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-01-232008-01-23 Rob Bradford <rob@openedhand.com>rob
* src/main.c: (main_load_default_config), (main): Add command line options to pre-specify host and port. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@170 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2008-01-09Fix typoross
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@169 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-26Fix spelling errorrichard
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@168 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-26Add missing POTFILES.in.rob
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@167 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-252007-10-25 Rob Bradford <rob@openedhand.com>rob
* server/opserver.c: (server_do_command_wrapper), (server_handle_command_archive), (main): Fix error handling to avoid memory corruption. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@166 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-25Uncommit updated NEWS file.rob
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@165 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-252007-10-25 Rob Bradford <rob@openedhand.com>rob
* README: * data/oprofile-viewer.glade: Fix spelling error. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@164 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-252007-10-25 Rob Bradford <rob@openedhand.com>rob
* Makefile.am: * configure.ac: * data/Makefile.am: Add magic for i18n. * src/Makefile.am: Include oprofileui.h in oprofile_viewer_SOURCES so that it gets included in the dist. * data/oprofile-viewer.desktop.in: Replacement for oprofile-viewer.desktop * src/archive_save_window.c: (archive_save_window_show), (archive_save_window_progress): * src/archive_window.c: (archive_window_show), (archive_window_file_list_finished), (archive_window_file_get_started): * src/avahi-ui.c: (client_callback), (resolve_callback), (browse_callback), (domain_browse_callback), (get_domain_name), (start_callback), (response_callback), (domain_button_clicked), (aui_service_dialog_init): * src/client.c: (client_handle_response_status), (client_connect): * src/main.c: (main_connection_lost_cb), (on_save_clicked), (on_open_clicked), (on_compare_clicked), (on_menu_about_activate), (main): * src/view.c: (view_show_details_symbol_common_tv_setup), (view_show_details_symbol_common), (view_show_details_module), (view_setup_symbol_instances_tv), (view_setup_module_instances_tv), (view_setup): Gettextify strings. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@163 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-25Remove Makefile.in.in from SVN.rob
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@162 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-242007-10-23 Jorn Baayen <jorn@openedhand.com>jorn
* data/oprofile-viewer.glade: Add "(Un)compare" menu items and "Compare" toolbar item. * src/main.c: (on_disconnect_clicked), (main): Handle new menu and toolbar items. * src/report.c: (report_generate_from_archive), (report_new_from_archive_path), (compare_image), (compare_module), (compare_module_instance), (compare_symbol), (compare_symbol_instance), (report_get_treestore), (report_get_symbol_details_liststore), (report_update_child_list_model), (report_get_symbol_instance_callers), (report_get_symbol_instance_callees), (report_get_symbol_callers), (report_get_symbol_callees), (report_get_module_details_liststore): * src/report.h: Add support for comparing against a different report. Plug a leak. * src/view.c: (view_get_property), (view_set_property), (search_comparison_func), (cell_colourer), (view_show_details_symbol_common_tv_setup), (view_show_details_symbol_common), (view_show_details_symbol_instance), (view_show_details_symbol), (view_show_details_module), (on_tree_selection_changed), (view_setup_symbol_instances_tv), (view_setup_module_instances_tv), (view_setup), (view_set_display_mode), (view_class_init): Show a column with percentage increases when the displayed report is being compared against another. Display a percentage increase label in the module and symbol "Details" tabs. Plug several leaks. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@161 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-05src/archive.c: Update archive save/open functionality after recent archive ↵richard
changes (see changelog). git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@160 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-05scripts/oparchconv: Fix test to ensure .converted file is created (avoiding ↵richard
double conversions). git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@159 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-03archive.c: Add hostname and port into the cache path for better cache ↵richard
performance with multiple hosts git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@158 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-03README: Recommend oprofile 0.9.3 and update patches required.richard
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@157 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-03report.c: Convert to use --root option with oprofile instead of ↵richard
--image-path. This requires a patched oprofile but is the only way sysroot style support is going to work. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@156 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-01oparchconv: Handle spaces safelyrichard
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@155 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-01archive.c: Localhost and remote host downloading optimisations (see Changelog)richard
git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@154 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-01archive: Remove get_finished varable and simplify logic a bit, add ↵richard
archive_file for the actively downloading file. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@153 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4
2007-10-01archive: Split archive_path into two paths using the pid for the base path ↵richard
and placing the active trace files in an active directory. Split the cleanup functions to mirror this. Create archive_removedir funciton for code reuse. git-svn-id: http://svn.o-hand.com/repos/oprofileui/trunk@152 c51cf7d2-cc27-0410-ae70-8b2b087dd3d4