Compare commits
11 Commits
LIBGTOP_2_
...
LIBGTOP_2_
Author | SHA1 | Date | |
---|---|---|---|
|
a956784797 | ||
|
e71023b362 | ||
|
89f9c1d43a | ||
|
29adf02352 | ||
|
35030c878b | ||
|
9b916ee402 | ||
|
23ca9669ae | ||
|
d66ae501f9 | ||
|
ccb10a7b33 | ||
|
9d2131a4b5 | ||
|
7d3059e732 |
32
ChangeLog
32
ChangeLog
@@ -1,3 +1,35 @@
|
||||
2006-02-27 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* NEWS:
|
||||
* configure.in:
|
||||
|
||||
Released 2.13.92.
|
||||
|
||||
2006-02-20 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* configure.in:
|
||||
|
||||
Bump version to 2.13.4.
|
||||
Reordered libs. Closes #329153.
|
||||
|
||||
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:
|
||||
|
@@ -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)
|
||||
|
14
NEWS
14
NEWS
@@ -1,3 +1,17 @@
|
||||
February 27, 2006: Overview of changes in 2.13.92
|
||||
=================================================
|
||||
* Fixed proc_state documentation.
|
||||
* Updated mountlist ignore list.
|
||||
|
||||
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:
|
||||
|
@@ -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], [92])
|
||||
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 ."
|
||||
|
||||
@@ -318,7 +318,7 @@ else
|
||||
LIBGTOP_EXTRA_LIBS="$LIBGTOP_EXTRA_LIBS $libs_xauth"
|
||||
fi
|
||||
|
||||
LIBGTOP_EXTRA_LIBS="$LIBGTOP_EXTRA_LIBS $GLIB_LIBS"
|
||||
LIBGTOP_EXTRA_LIBS="$GLIB_LIBS $LIBGTOP_EXTRA_LIBS"
|
||||
|
||||
LIBGTOP_LIBS="$LIBGTOP_LIBS"
|
||||
|
||||
|
@@ -1,3 +1,8 @@
|
||||
2006-02-21 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* reference.texi: Fixed glibtop_get_proc_state doc.
|
||||
Patch by Emil Nowak <emil5@go2.pl>.
|
||||
|
||||
2005-01-03 Benoît Dejean <TazForEver@dlfp.org>
|
||||
|
||||
* reference.texi: Updated.
|
||||
|
@@ -493,7 +493,7 @@ glibtop_get_proc_state_l (glibtop *server, glibtop_proc_state *buf,
|
||||
@end cartouche
|
||||
@end example
|
||||
|
||||
Declaration of @code{glibtop_proc_state} in @file{<glibtop/proc_state.h>}:
|
||||
Declaration of @code{glibtop_proc_state} in @file{<glibtop/procstate.h>}:
|
||||
|
||||
@example
|
||||
@cartouche
|
||||
|
@@ -1,3 +1,9 @@
|
||||
2006-02-27 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* pprint.c: (pprint_get_proc_mem), (main):
|
||||
|
||||
Added proc_mem example.
|
||||
|
||||
2005-12-15 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* proclist.c: (print_pids), (main):
|
||||
|
@@ -268,6 +268,24 @@ static void pprint_get_proc_kernel(pid_t pid)
|
||||
}
|
||||
|
||||
|
||||
static void pprint_get_proc_mem(pid_t pid)
|
||||
{
|
||||
glibtop_proc_mem buf;
|
||||
|
||||
glibtop_get_proc_mem(&buf, pid);
|
||||
|
||||
HEADER_PPRINT(glibtop_get_proc_mem);
|
||||
PPRINT(flags, "%#llx");
|
||||
PPRINT(size, "%llu");
|
||||
PPRINT(vsize, "%llu");
|
||||
PPRINT(resident, "%llu");
|
||||
PPRINT(share, "%llu");
|
||||
PPRINT(rss, "%llu");
|
||||
PPRINT(rss_rlim, "%llu");
|
||||
FOOTER_PPRINT();
|
||||
}
|
||||
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -298,6 +316,7 @@ int main()
|
||||
pprint_get_uptime();
|
||||
|
||||
pprint_get_proc_kernel(getpid());
|
||||
pprint_get_proc_mem(getpid());
|
||||
|
||||
glibtop_close();
|
||||
|
||||
|
@@ -1,3 +1,10 @@
|
||||
2006-02-21 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* mountlist.c: (ignore_mount_entry): Also ignores linprocfs, mfs
|
||||
and devfs.
|
||||
Closes #331856.
|
||||
Patch by Andreas Kohn <andreas.kohn@gmail.com>
|
||||
|
||||
2005-04-26 Jörgen Scheibengruber <mfcn@gmx.de>
|
||||
|
||||
* mountlist.c: (ignore_mount_entry): Added tmpfs to ignore list.
|
||||
|
@@ -540,7 +540,10 @@ static gboolean ignore_mount_entry(const struct mount_entry *me)
|
||||
static const char ignored[][12] = {
|
||||
"autofs",
|
||||
"binfmt_misc",
|
||||
"devfs",
|
||||
"devpts",
|
||||
"linprocfs",
|
||||
"mfs",
|
||||
"mntfs",
|
||||
"mqueue",
|
||||
"none",
|
||||
|
@@ -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):
|
||||
|
@@ -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);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user