Compare commits

...

6 Commits

Author SHA1 Message Date
Benoît Dejean
9b916ee402 Released 2.13.3.
* configure.in:
	* NEW:

	Released 2.13.3.
2006-01-23 18:02:22 +00:00
Benoît Dejean
23ca9669ae I can't believe i've been so stupid :) Uses smaps if linux > 2.6.14.
* procmap.c: (glibtop_get_proc_map_s):

	I can't believe i've been so stupid :)
	Uses smaps if linux > 2.6.14.
2006-01-23 16:41:10 +00:00
Benoît Dejean
d66ae501f9 /me stupid. Revert last commit. Sorry 2006-01-02 17:43:45 +00:00
Benoît Dejean
ccb10a7b33 Updated. 2006-01-02 17:13:18 +00:00
Benoît Dejean
9d2131a4b5 Released 2.13.2.
* NEWS:
	* configure.in:

	Released 2.13.2.
2006-01-02 13:13:11 +00:00
James Henstridge
7d3059e732 add quotes around symbol definition.
2006-01-02  James Henstridge  <james@jamesh.id.au>

	* configure.in (LT_VERSION_INFO): add quotes around symbol definition.
2006-01-02 11:30:32 +00:00
6 changed files with 42 additions and 5 deletions

View File

@@ -1,3 +1,21 @@
2006-01-23 Benoît Dejean <benoit@placenet.org>
* configure.in:
* NEW:
Released 2.13.3.
2006-01-02 Benoît Dejean <benoit@placenet.org>
* NEWS:
* configure.in:
Released 2.13.2.
2006-01-02 James Henstridge <james@jamesh.id.au>
* configure.in (LT_VERSION_INFO): add quotes around symbol definition.
2005-12-15 Benoît Dejean <benoit@placenet.org>
* configure.in:

View File

@@ -1,3 +1,3 @@
Email: martin@home-of-linux.org
Email: dave@srce.hr
Benoît Dejean (tazforever@dlfp.org)
Current maintainer : Benoît Dejean (benoit@placenet.org)

9
NEWS
View File

@@ -1,3 +1,12 @@
January 23, 2006: Overview of changes in 2.13.3
===============================================
* linux:
- fixe get_procmap for linux < 2.6.14.
January 2, 2006: Overview of changes in 2.13.2
==============================================
* Fixed libtool versioning (James Henstridge)
December 15, 2005: Overview of changes in 2.13.1
================================================
* linux:

View File

@@ -4,7 +4,7 @@ dnl
m4_define([libgtop_major_version], [2])
m4_define([libgtop_minor_version], [13])
m4_define([libgtop_micro_version], [1])
m4_define([libgtop_micro_version], [3])
m4_define([libgtop_version], [libgtop_major_version.libgtop_minor_version.libgtop_micro_version])
dnl increment if the interface has additions, changes, removals.
@@ -44,7 +44,7 @@ AC_SUBST(LIBGTOP_VERSION_CODE, [libgtop_version_code])
# libtool versioning
AC_SUBST(LT_VERSION_INFO,
[-version-info libgtop_current:libgtop_revision:libgtop_age])
["-version-info libgtop_current:libgtop_revision:libgtop_age"])
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I ."

View File

@@ -1,3 +1,10 @@
2006-01-23 Benoît Dejean <benoit@placenet.org>
* procmap.c: (glibtop_get_proc_map_s):
I can't believe i've been so stupid :)
Uses smaps if linux > 2.6.14.
2005-12-15 Benoît Dejean <benoit@placenet.org>
* proclist.c: (glibtop_get_proclist_s):

View File

@@ -133,12 +133,15 @@ glibtop_get_proc_map_s (glibtop *server, glibtop_proc_map *buf, pid_t pid)
100);
FILE *maps;
const char *filename;
gboolean has_smaps;
glibtop_init_s (&server, GLIBTOP_SYSDEPS_PROC_MAP, 0);
memset (buf, 0, sizeof (glibtop_proc_map));
if (server->os_version_code >= LINUX_VERSION_CODE(2, 6, 0))
has_smaps = server->os_version_code >= LINUX_VERSION_CODE(2, 6, 14);
if (has_smaps)
filename = SMAPS_FILE;
else
filename = MAPS_FILE;
@@ -211,7 +214,7 @@ glibtop_get_proc_map_s (glibtop *server, glibtop_proc_map *buf, pid_t pid)
entry->inode = (guint64) inode;
g_strlcpy(entry->filename, filename, sizeof entry->filename);
if (server->os_version_code >= LINUX_VERSION_CODE(2, 6, 0))
if (has_smaps)
add_smaps(server, maps, entry);
}