Commit Graph

  • 172f0a50ba Convert lots of fprintf(stderr, ...) to glibtop_debug*(). Benoit Dejean 2015-06-21 22:39:11 +02:00
  • 887092a05d Define glibtop_debug(_r) as macros, eventually calling real C function. Keep these as macros so that if debug is not enable, although the debug message is parsed, it's not run. It's better this way because the debug message is always parsed and checked instead of being deleted by the preprocessor. Benoit Dejean 2015-06-21 22:35:52 +02:00
  • b2a2f6b5c2 Print client and server pids in messages. Benoit Dejean 2015-06-21 22:35:14 +02:00
  • 6bdb9a76eb Fixed glibtop_debug for calls without arguments. Benoit Dejean 2015-06-21 21:44:32 +02:00
  • fd29dae933 Always define LIBGTOP_ENABLE_DEBUG (0|1) to be used in if() statements. Benoit Dejean 2015-06-21 21:43:43 +02:00
  • 65c5ca842f Add a level (DEBUG, WARNING, ERROR) to printing functions. Benoit Dejean 2015-06-21 21:05:11 +02:00
  • edd08e6fd6 Fix macro definition. Benoit Dejean 2015-06-21 21:04:35 +02:00
  • 82ff91b74c Add proper (and private) debug functions glibtop_debug* Benoit Dejean 2015-06-21 20:52:11 +02:00
  • ca6cabe41d For processes with threads, only reports the pid once. On my system, this brings proclist's output from +300 to 72. Benoit Dejean 2015-06-21 20:23:27 +02:00
  • 4fb241097f Fix alignment issue with proclist arguments unpacking. Benoit Dejean 2015-06-21 19:15:03 +02:00
  • 214c3635da The perl generator for the *_l() functions does not need to know about the glibtop_* struct layout, so drop this from the definitions. Benoit Dejean 2015-06-21 19:13:35 +02:00
  • fba67da65d Reorder GI annotations and remove duplicate for _l(). Benoit Dejean 2015-06-21 18:17:57 +02:00
  • 119049b8c0 Fix autotools deprecation warning with s/INCLUDES/AM_CPPFLAGS/g. Benoit Dejean 2015-06-21 18:04:12 +02:00
  • 1908c00d32 Ignore the free example binary. Benoît Dejean 2015-07-14 11:21:45 +02:00
  • 70640d297e Implement a GNU free -m clone. Benoît Dejean 2015-07-14 11:17:59 +02:00
  • c33623c097 Provide stats about shared memory and account Slab as cached. This matches exactly free. Benoît Dejean 2015-07-14 11:11:38 +02:00
  • 6fe3b94f13 Make git ignore more files. Benoît Dejean 2015-07-14 10:31:13 +02:00
  • f1a01a543c Define and initialize param_buf, send_{size,ptr} only when using glibtop_call. Benoît Dejean 2015-07-09 00:14:06 +02:00
  • 758862e272 Add proc_affinity example. Benoît Dejean 2015-06-26 07:57:54 +02:00
  • 6941e7e22f Update and clean .gitignored files list. Benoît Dejean 2015-03-15 08:02:15 +01:00
  • ee2ac6d563 Add glibtop_get_shm_limits gtk-doc/gi tags. Benoît Dejean 2015-03-15 00:36:12 +01:00
  • 4c0632ccbd Move gtk-doc/gi tag for glibtop_netlist_* to the correct place. Benoît Dejean 2015-03-15 00:35:37 +01:00
  • 71c7d65b1d Add gtk-doc/gi for glibtop_netlist. Benoît Dejean 2015-03-15 00:06:28 +01:00
  • 94aa63f796 Add an assertion to ensure that GLIBTOP_SYSDEPS_* fit in an unsigned long. Benoît Dejean 2015-03-12 23:25:24 +01:00
  • 931a8364ff Fix a few gtk-doc/gi function tags. Benoît Dejean 2015-03-11 15:10:28 +01:00
  • 598764c171 Add gtk-doc annotations for the glibtop_init functions. Their return value should not be freed. This fixes usage from gnome-instrospection (invalid free). Benoît Dejean 2015-03-11 14:44:29 +01:00
  • aa7f9df00e Drop --with-libgtop-smp. No code uses this switch. Benoît Dejean 2015-03-05 23:43:29 +01:00
  • 4c4466292e Fixed sscanf format string as arguments are unsigned ints. Benoît Dejean 2014-12-29 22:30:20 +01:00
  • fcc1d9d957 Add support for linux x.y versioning schema Ionut Biru 2011-10-22 21:58:30 +03:00
  • 0580b2fb2c Linux >= 3.14 provides a "MemAvailable" field in /proc/meminfo which gives the estimated amount of memory available for applications. Use this to compute glibtop_mem::user. Benoît Dejean 2014-04-14 09:34:52 +02:00
  • a206cfc728 freebsd: rework system memory usage Ting-Wei Lan 2015-05-02 21:36:22 +08:00
  • 58ca70eaee Updated Portuguese translation Pedro Albuquerque 2015-07-01 22:01:19 +00:00
  • 421419fdbf Fixed build problem with procmap example Robert Roth 2015-06-26 03:10:51 +03:00
  • ebb7f9d5e2 Better debug message. Benoit Dejean 2015-06-21 17:37:07 +02:00
  • 1f3b08e6dc Display self-timings using ps. Benoit Dejean 2015-06-21 17:35:57 +02:00
  • a870dfc8f2 Print more fields about each filesystem. Benoit Dejean 2015-06-21 16:01:26 +02:00
  • e0244ad3fc Don't try to print a NULL hash_table. Benoit Dejean 2015-06-21 15:38:32 +02:00
  • 1156794b33 Add command tracing in glibtop_call_l when debugging. Benoit Dejean 2015-06-21 15:35:26 +02:00
  • 874771ec1c Ignore more output files. Benoit Dejean 2015-06-21 15:34:25 +02:00
  • 16f262985d Use glibtop_warn_r instead of fprintf. Benoit Dejean 2015-06-21 15:13:01 +02:00
  • 0a94dc7992 Display inode number without zero padding. Benoit Dejean 2015-06-21 15:05:32 +02:00
  • 50b5dea402 Implement dev/inode for mapped files on ZFS. Benoit Dejean 2015-06-21 13:46:57 +02:00
  • f4b23ef0c6 Split the code that works only with UFS inode. Will ease new code for ZFS. Benoit Dejean 2015-06-21 13:43:14 +02:00
  • 1f41349a7e Fix format for permissions. Display mappings' sizes. Avoid duplicating formatting code. Benoit Dejean 2015-06-21 11:06:59 +02:00
  • 548f104f35 If no argument is given, defaults to self. When self-testing, try to mmap some files as an example. Benoit Dejean 2015-06-21 11:04:59 +02:00
  • 4808aac8ef Make libgtop_server2 link against its libgtop. Benoit Dejean 2015-02-28 04:11:00 +01:00
  • f04ce61b80 Run server_command instead of hardcoded LIBGTOP_SERVER. Benoit Dejean 2015-02-28 04:08:18 +01:00
  • c7f7e5a1c6 Set the FSUSAGE_(READ|WRITE) flags only we managed to get something. Currently, it doesn't seem to work on ZFS. Benoit Dejean 2015-02-28 03:39:22 +01:00
  • e2348c24a0 When pretty-printing an array, don't display 0 elements. Benoit Dejean 2015-02-28 02:27:52 +01:00
  • f76b37be1b Rename NEED_LIBGTOP to LIBGTOP_NEED_SERVER. Benoit Dejean 2015-02-28 02:12:23 +01:00
  • b2fee3e111 No special case for pid == 0. As of 2015, with FreeBSD 10.1-RELEASE #0 r274401 on amd64, this really works and sets the name to "kernel" for pid == 0. Benoit Dejean 2015-02-28 01:43:57 +01:00
  • 7b2416a8d1 Use LIBGTOP_ENABLE_DEBUG instead of undefined SLAVE_DEBUG. Benoit Dejean 2015-02-28 01:20:20 +01:00
  • d006da7e54 Drop dead file, Benoit Dejean 2015-02-28 00:58:05 +01:00
  • a93dc2526d The DEBUG macro enabled by --enable-debug is actually LIBGTOP_ENABLE_DEBUG. Benoit Dejean 2015-02-28 00:20:28 +01:00
  • a3a16707b5 Enable silent build. Benoit Dejean 2015-02-28 00:19:17 +01:00
  • fd53595189 Prepare 2.31.3 LIBGTOP_2_31_3 Robert Roth 2015-06-22 22:43:35 +03:00
  • 0057bbbc47 Don't set GLIBTOP_PROC_MEM_SHARE because it's not implemented anymore. Benoit Dejean 2015-02-28 02:35:02 +01:00
  • e6d776ee61 It doesn't make any sense to count as shared each and every mmaped file. Disable that code while we figure how to really do it. Benoit Dejean 2015-02-27 22:47:47 +01:00
  • c68e077909 Implemented procaffinity for netBSD. Juan RP 2015-06-20 03:35:56 +03:00
  • 72e46fc6b4 Define some GLIBTOP_SUID constants to build procaffinity on NetBSD Juan RP 2008-09-25 05:55:00 +00:00
  • 2ea8a156f3 Enable procaffinity.c on sysdeps/bsd/Makefile.am. Juan RP 2008-09-25 05:52:00 +00:00
  • 40e1a86d52 freebsd: Add fdescfs to the ignored filesystem list Ting-Wei Lan 2015-05-02 18:04:23 +08:00
  • a101d6b27a Updated Occitan translation Cédric Valmary 2015-04-30 07:47:26 +00:00
  • 9770db12d2 Let's stick to the GNOME release process Robert Roth 2015-04-02 06:50:16 +03:00
  • a61052dc59 Version bump required to 2.32.0 Robert Roth 2015-03-21 20:13:08 +02:00
  • 8985e7e239 Updated Bosnian translation gnome-2-28 Samir Ribic 2015-03-13 21:02:02 +00:00
  • 1c1449306b Added some more files to .gitignore Robert Roth 2015-01-03 15:36:57 +02:00
  • 3f8f65386e Make some APIs that return struct introspectable Jasper St. Pierre 2011-11-02 15:18:20 -04:00
  • 30d29e624b Warn on introspection errors Jasper St. Pierre 2011-11-02 15:17:49 -04:00
  • bea8b6790a stub sysdep: add some missing files Ryan Lortie 2014-02-11 14:07:40 -05:00
  • 5e6c25d29d stub sysdep: add missing defines Ryan Lortie 2014-02-11 13:58:36 -05:00
  • b7e1219e0a stub sysdep: fix mismatched function vs. prototype Ryan Lortie 2014-02-11 13:56:12 -05:00
  • 057dcf77d6 Sync with OpenBSD's uvm_extern.h changes Jasper Lievisse Adriaanse 2014-11-18 19:33:38 +01:00
  • b7edd1542e dkstat.h is going away on OpenBSD, so use sys/sched.h instead for CP_* Jasper Lievisse Adriaanse 2014-09-08 09:36:07 +02:00
  • 7326f8816d Add SMP support for OpenBSD Jasper Lievisse Adriaanse 2014-09-01 15:21:31 +02:00
  • ed1b3f5834 Use configure.ac instead of configure.in Robert Roth 2014-08-20 05:25:50 +03:00
  • 7a3414d002 Update old FSF address. https://bugzilla.gnome.org/show_bug.cgi?id=721514 Robert Roth 2014-08-20 04:44:27 +03:00
  • 564506bb0d Add annotations to get_proclist* to make Python bindings work. Märt Põder 2014-08-02 13:20:20 +03:00
  • 9e0843064d doap: add <programming-language> Andre Klapper 2014-07-31 21:05:19 +02:00
  • d8d8aac9d3 doap category core Olav Vitters 2014-07-30 20:30:20 +02:00
  • 9a887feed2 Unbreak build on OpenBSD after recent header changes. Jasper Lievisse Adriaanse 2014-07-10 13:15:50 +02:00
  • 81dfeb526c Updated Greek translation Tom Tryfonidis 2014-07-09 23:20:20 +00:00
  • d9c01aac4a Don't include sys/pipe.h on kFreeBSD Defining _KERNEL to include sys/pipe.h subsequently breaks sys/conf.h; since sys/pipe.h is not meant to be used in userland, and libgtop2 builds anyway on kFreeBSD without it, don't include it. https://bugzilla.gnome.org/show_bug.cgi?id=674067 LIBGTOP_2_30_0 Steven Chamberlain 2014-04-29 00:30:07 +03:00
  • 82c28b2ad2 src/daemon: remove LINK variable Ting-Wei Lan 2014-02-22 01:48:46 +08:00
  • 05345dc032 ABI breakage by efaaf6eb77. Fixing libtool version to 10.0.0. Benoît Dejean 2014-04-13 22:03:20 +02:00
  • 63ba7b2c12 switch from VM_METER to VM_UVMEXP Jasper Lievisse Adriaanse 2014-04-10 16:32:47 +02:00
  • 5371e8ec88 openbsd: drop empty EXTRA_SYSDEPS_LIBS. Antoine Jacoutot 2014-03-31 10:57:22 +02:00
  • e682094418 examples: don't override LINK and other variables Ryan Lortie 2014-02-11 14:10:46 -05:00
  • 2e861977a6 freebsd: don't link to libgeom Ryan Lortie 2014-02-12 09:00:52 -05:00
  • a39f290683 Fix build issues on FreeBSD Ting-Wei Lan 2014-02-12 09:00:44 -05:00
  • 02b55313f3 openbsd: bring glibtop_get_proc_segment from FreeBSD Antoine Jacoutot 2014-02-08 11:54:07 +01:00
  • 596c42d7f1 openbsd: drop unecessary check Antoine Jacoutot 2014-02-08 11:53:26 +01:00
  • 71f7237545 updated kn.po gnome-2-26 Shankar Prasad 2014-02-05 16:39:57 +05:30
  • d4d4f7735a updated kn.po Shankar Prasad 2014-02-05 16:38:05 +05:30
  • 4cd3e4fed6 openbsd: merge patches from ports tree Antoine Jacoutot 2014-02-03 10:56:02 +01:00
  • c99ceeaa65 openbsd: better handling of p_wchan Antoine Jacoutot 2014-02-01 19:09:21 +01:00
  • ecbfade528 openbsd: really drop all lsof related code Antoine Jacoutot 2014-01-23 15:03:36 +01:00
  • 73d4679ad8 Remove OpenBSD RCS ID which bears no meaning here. Jasper Lievisse Adriaanse 2014-01-23 11:24:33 +01:00
  • df1db43032 Fix several issues related to process information on OpenBSD and drop lsof usage. Robert Nagy 2014-01-23 10:39:39 +01:00
  • ff07ba102f Some fields have moved in struct proc from timeval to timespec. Jasper Lievisse Adriaanse 2014-01-23 10:34:52 +01:00