commit pagemon for openSUSE:Factory
Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2020-08-24 15:13:22 Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new.3399 (New) Package is "pagemon" Mon Aug 24 15:13:22 2020 rev:10 rq:828655 version:0.01.20 Changes: --- /work/SRC/openSUSE:Factory/pagemon/pagemon.changes 2020-03-08 22:25:00.168109500 +0100 +++ /work/SRC/openSUSE:Factory/.pagemon.new.3399/pagemon.changes 2020-08-24 15:13:52.062708795 +0200 @@ -1,0 +2,6 @@ +Mon Aug 17 19:27:10 UTC 2020 - Dirk Mueller + +- update to 0.01.20: + * initialize memory before usage + +--- Old: pagemon-0.01.19.tar.xz New: pagemon-0.01.20.tar.xz Other differences: -- ++ pagemon.spec ++ --- /var/tmp/diff_new_pack.FEc2Wm/_old 2020-08-24 15:13:53.102709301 +0200 +++ /var/tmp/diff_new_pack.FEc2Wm/_new 2020-08-24 15:13:53.106709303 +0200 @@ -18,7 +18,7 @@ Name: pagemon -Version:0.01.19 +Version:0.01.20 Release:0 Summary:Interactive memory/page monitoring tool License:GPL-2.0-or-later ++ pagemon-0.01.19.tar.xz -> pagemon-0.01.20.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.19/Makefile new/pagemon-0.01.20/Makefile --- old/pagemon-0.01.19/Makefile2020-02-26 15:20:38.0 +0100 +++ new/pagemon-0.01.20/Makefile2020-07-04 22:10:33.0 +0200 @@ -18,7 +18,7 @@ # Author: Colin Ian King # -VERSION=0.01.19 +VERSION=0.01.20 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -fPIC LDFLAGS += -lncurses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.19/pagemon.c new/pagemon-0.01.20/pagemon.c --- old/pagemon-0.01.19/pagemon.c 2020-02-26 15:20:38.0 +0100 +++ new/pagemon-0.01.20/pagemon.c 2020-07-04 22:10:33.0 +0200 @@ -1296,6 +1296,7 @@ zoom * (p->xpos + (p->ypos * p->xmax)); struct winsize ws; + (void)memset(, 0, sizeof(ws)); if (ioctl(fileno(stdin), TIOCGWINSZ, ) < 0) { rc = ERR_RESIZE_FAIL; break;
commit pagemon for openSUSE:Factory
Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2020-03-08 22:24:48 Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new.26092 (New) Package is "pagemon" Sun Mar 8 22:24:48 2020 rev:9 rq:782691 version:0.01.19 Changes: --- /work/SRC/openSUSE:Factory/pagemon/pagemon.changes 2019-12-18 14:48:41.733948968 +0100 +++ /work/SRC/openSUSE:Factory/.pagemon.new.26092/pagemon.changes 2020-03-08 22:25:00.168109500 +0100 @@ -1,0 +2,16 @@ +Sun Mar 8 13:20:37 UTC 2020 - Martin Hauke + +- Supplement against bash-completion, not bash + +--- +Sun Mar 8 12:53:30 UTC 2020 - Martin Hauke + +- Drop SLE12 compat ifdef + +--- +Wed Feb 26 19:25:58 UTC 2020 - Martin Hauke + +- Update to version 0.01.19 + * Add bash completion script + +--- Old: pagemon-0.01.18.tar.xz New: pagemon-0.01.19.tar.xz Other differences: -- ++ pagemon.spec ++ --- /var/tmp/diff_new_pack.fod3Pv/_old 2020-03-08 22:25:01.460110298 +0100 +++ /var/tmp/diff_new_pack.fod3Pv/_new 2020-03-08 22:25:01.460110298 +0100 @@ -1,7 +1,7 @@ # # spec file for package pagemon # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2017, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: pagemon -Version:0.01.18 +Version:0.01.19 Release:0 Summary:Interactive memory/page monitoring tool License:GPL-2.0-or-later @@ -32,12 +32,23 @@ allowing one to browse the memory map of an active running process on Linux. +%package bash-completion +Summary:Bash Completion for %{name} +Group: System/Benchmark +Requires: %{name} = %{version} +Requires: bash-completion +Supplements:(pagemon and bash-completion) +BuildArch: noarch + +%description bash-completion +Bash completion script for %{name}. + %prep %setup -q %build export CFLAGS="%{optflags}" -make %{?_smp_mflags} +%make_build %install %make_install @@ -48,4 +59,7 @@ %{_sbindir}/pagemon %{_mandir}/man8/pagemon.8%{?ext_man} +%files bash-completion +%{_datadir}/bash-completion/completions/%{name} + %changelog ++ pagemon-0.01.18.tar.xz -> pagemon-0.01.19.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.18/Makefile new/pagemon-0.01.19/Makefile --- old/pagemon-0.01.18/Makefile2019-12-16 14:17:45.0 +0100 +++ new/pagemon-0.01.19/Makefile2020-02-26 15:20:38.0 +0100 @@ -1,5 +1,5 @@ # -# Copyright (C) 2015-2019 Colin Ian King +# Copyright (C) 2015-2020 Colin Ian King # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -18,7 +18,7 @@ # Author: Colin Ian King # -VERSION=0.01.18 +VERSION=0.01.19 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -fPIC LDFLAGS += -lncurses @@ -35,6 +35,7 @@ BINDIR=/usr/sbin MANDIR=/usr/share/man/man8 +BASHDIR=/usr/share/bash-completion/completions SRC = pagemon.c perf.c OBJS = $(SRC:.c=.o) @@ -51,7 +52,8 @@ dist: rm -rf pagemon-$(VERSION) mkdir pagemon-$(VERSION) - cp -rp README Makefile pagemon.c pagemon.8 perf.c perf.h COPYING .travis.yml pagemon-$(VERSION) + cp -rp README Makefile pagemon.c pagemon.8 perf.c perf.h COPYING \ + .travis.yml bash-completion pagemon-$(VERSION) tar -Jcf pagemon-$(VERSION).tar.xz pagemon-$(VERSION) rm -rf pagemon-$(VERSION) @@ -63,3 +65,5 @@ cp pagemon ${DESTDIR}${BINDIR} mkdir -p ${DESTDIR}${MANDIR} cp pagemon.8.gz ${DESTDIR}${MANDIR} + mkdir -p ${DESTDIR}${BASHDIR} + cp bash-completion/pagemon ${DESTDIR}${BASHDIR} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.18/bash-completion/pagemon new/pagemon-0.01.19/bash-completion/pagemon --- old/pagemon-0.01.18/bash-completion/pagemon 1970-01-01 01:00:00.0 +0100 +++ new/pagemon-0.01.19/bash-completion/pagemon 2020-02-26 15:20:38.0 +0100 @@ -0,0 +1,47 @@ +# pagemon tab completion for bash. +# +# Copyright (C) 2020 Canonical +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option)
commit pagemon for openSUSE:Factory
Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2019-12-18 14:46:07 Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new.4691 (New) Package is "pagemon" Wed Dec 18 14:46:07 2019 rev:8 rq:757629 version:0.01.18 Changes: --- /work/SRC/openSUSE:Factory/pagemon/pagemon.changes 2019-10-03 14:08:21.588270030 +0200 +++ /work/SRC/openSUSE:Factory/.pagemon.new.4691/pagemon.changes 2019-12-18 14:48:41.733948968 +0100 @@ -1,0 +2,7 @@ +Tue Dec 17 19:39:07 UTC 2019 - Martin Hauke + +- Update to version 0.01.18 + * Fix indexing out-of-range error on g.mem_info.pages when idx +is out of range + +--- Old: pagemon-0.01.17.tar.xz New: pagemon-0.01.18.tar.xz Other differences: -- ++ pagemon.spec ++ --- /var/tmp/diff_new_pack.SxzKZJ/_old 2019-12-18 14:48:42.089949130 +0100 +++ /var/tmp/diff_new_pack.SxzKZJ/_new 2019-12-18 14:48:42.089949130 +0100 @@ -18,7 +18,7 @@ Name: pagemon -Version:0.01.17 +Version:0.01.18 Release:0 Summary:Interactive memory/page monitoring tool License:GPL-2.0-or-later ++ pagemon-0.01.17.tar.xz -> pagemon-0.01.18.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.17/Makefile new/pagemon-0.01.18/Makefile --- old/pagemon-0.01.17/Makefile2019-09-25 17:55:10.0 +0200 +++ new/pagemon-0.01.18/Makefile2019-12-16 14:17:45.0 +0100 @@ -18,7 +18,7 @@ # Author: Colin Ian King # -VERSION=0.01.17 +VERSION=0.01.18 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -fPIC LDFLAGS += -lncurses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.17/pagemon.c new/pagemon-0.01.18/pagemon.c --- old/pagemon-0.01.17/pagemon.c 2019-09-25 17:55:10.0 +0200 +++ new/pagemon-0.01.18/pagemon.c 2019-12-16 14:17:45.0 +0100 @@ -1345,7 +1345,7 @@ int32_t curxpos = (p->xpos * 3) + ADDR_OFFSET; const position_t *pc = [VIEW_PAGE]; const index_t cursor_index = page_index + - zoom * (pc->xpos + (pc->ypos * pc->xmax)); + zoom * (pc->xpos + ((index_t)pc->ypos * pc->xmax)); percent = (g.mem_info.npages > 0) ? 100.0 * cursor_index / g.mem_info.npages : 100; @@ -1382,7 +1382,7 @@ } else { int32_t curxpos = p->xpos + ADDR_OFFSET; const index_t cursor_index = page_index + - zoom * (p->xpos + (p->ypos * p->xmax)); + zoom * (p->xpos + ((index_t)p->ypos * p->xmax)); percent = (g.mem_info.npages > 0) ? 100.0 * cursor_index / g.mem_info.npages : 100; @@ -1646,7 +1646,7 @@ if (g.view == VIEW_MEM) { const position_t *pc = [VIEW_PAGE]; const index_t cursor_index = page_index + - zoom * (pc->xpos + (pc->ypos * pc->xmax)); + zoom * (pc->xpos + ((index_t)pc->ypos * pc->xmax)); const addr_t addr = (cursor_index >= (index_t)g.mem_info.npages) ? g.mem_info.last_addr :
commit pagemon for openSUSE:Factory
Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2019-10-03 14:08:20 Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new.2352 (New) Package is "pagemon" Thu Oct 3 14:08:20 2019 rev:7 rq:733255 version:0.01.17 Changes: --- /work/SRC/openSUSE:Factory/pagemon/pagemon.changes 2019-08-09 16:54:58.057445927 +0200 +++ /work/SRC/openSUSE:Factory/.pagemon.new.2352/pagemon.changes 2019-10-03 14:08:21.588270030 +0200 @@ -1,0 +2,7 @@ +Wed Sep 25 20:50:44 UTC 2019 - Martin Hauke + +- Update to version 0.01.17 + * Fix indexing out-of-range error on g.mem_info.pages when idx +is out of range + +--- Old: pagemon-0.01.16.tar.xz New: pagemon-0.01.17.tar.xz Other differences: -- ++ pagemon.spec ++ --- /var/tmp/diff_new_pack.nqvEBl/_old 2019-10-03 14:08:22.672267242 +0200 +++ /var/tmp/diff_new_pack.nqvEBl/_new 2019-10-03 14:08:22.708267149 +0200 @@ -18,7 +18,7 @@ Name: pagemon -Version:0.01.16 +Version:0.01.17 Release:0 Summary:Interactive memory/page monitoring tool License:GPL-2.0-or-later ++ pagemon-0.01.16.tar.xz -> pagemon-0.01.17.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.16/Makefile new/pagemon-0.01.17/Makefile --- old/pagemon-0.01.16/Makefile2019-07-30 13:56:29.0 +0200 +++ new/pagemon-0.01.17/Makefile2019-09-25 17:55:10.0 +0200 @@ -18,7 +18,7 @@ # Author: Colin Ian King # -VERSION=0.01.16 +VERSION=0.01.17 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -fPIC LDFLAGS += -lncurses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.16/pagemon.c new/pagemon-0.01.17/pagemon.c --- old/pagemon-0.01.16/pagemon.c 2019-07-30 13:56:29.0 +0200 +++ new/pagemon-0.01.17/pagemon.c 2019-09-25 17:55:10.0 +0200 @@ -774,14 +774,20 @@ /* * Slurp up an entire row */ - addr = g.mem_info.pages[idx].addr; - map = g.mem_info.pages[idx].map; - offset = (addr >> shift) & ~7ULL; - (void)memset(pagemap_info_buf, 0, sz); - if (lseek(fd, offset, SEEK_SET) != (off_t)-1) { - ssize_t ret = read(fd, pagemap_info_buf, sz); - (void)ret; + + if (idx >= (index_t)g.mem_info.npages) { + addr = 0; + map = NULL; + } else { + addr = g.mem_info.pages[idx].addr; + map = g.mem_info.pages[idx].map; + offset = (addr >> shift) & ~7ULL; + + if (lseek(fd, offset, SEEK_SET) != (off_t)-1) { + ssize_t ret = read(fd, pagemap_info_buf, sz); + (void)ret; + } } for (j = 0; j < xmax; j++) {
commit pagemon for openSUSE:Factory
Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2019-08-09 16:54:49 Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new.9556 (New) Package is "pagemon" Fri Aug 9 16:54:49 2019 rev:6 rq:721968 version:0.01.16 Changes: --- /work/SRC/openSUSE:Factory/pagemon/pagemon.changes 2018-07-12 09:21:39.934628383 +0200 +++ /work/SRC/openSUSE:Factory/.pagemon.new.9556/pagemon.changes 2019-08-09 16:54:58.057445927 +0200 @@ -1,0 +2,15 @@ +Tue Jul 30 19:14:25 UTC 2019 - Martin Hauke + +- Update to version 0.01.16 + * Format pagemap_info by casting to uint64_t + +--- +Sun Jul 7 18:37:25 UTC 2019 - Martin Hauke + +- Update to version 0.01.15 + * Fix spelling mistake + * Update copyright year + * Add project page to README + * Voidify some function returns and minor code clean up + +--- Old: pagemon-0.01.14.tar.gz New: pagemon-0.01.16.tar.xz Other differences: -- ++ pagemon.spec ++ --- /var/tmp/diff_new_pack.QRbJDF/_old 2019-08-09 16:54:59.041445691 +0200 +++ /var/tmp/diff_new_pack.QRbJDF/_new 2019-08-09 16:54:59.041445691 +0200 @@ -1,7 +1,7 @@ # # spec file for package pagemon # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -13,18 +13,18 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: pagemon -Version:0.01.14 +Version:0.01.16 Release:0 Summary:Interactive memory/page monitoring tool License:GPL-2.0-or-later Group: System/Monitoring -URL:http://kernel.ubuntu.com/~cking/pagemon -Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz +URL:https://kernel.ubuntu.com/~cking/pagemon +Source: https://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.xz BuildRequires: ncurses-devel %description
commit pagemon for openSUSE:Factory
Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2018-07-12 09:19:52 Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new (New) Package is "pagemon" Thu Jul 12 09:19:52 2018 rev:5 rq:622041 version:0.01.14 Changes: --- /work/SRC/openSUSE:Factory/pagemon/pagemon.changes 2018-01-13 21:48:14.780399703 +0100 +++ /work/SRC/openSUSE:Factory/.pagemon.new/pagemon.changes 2018-07-12 09:21:39.934628383 +0200 @@ -1,0 +2,25 @@ +Mon Jul 9 17:49:30 UTC 2018 - mar...@gmx.de + +- Update to version 0.01.14 + * Makefile: remove .xz tarball on make clean rule + * debian/watch: change watch file to check for .xz + * Makefile: use xz compression for tarball + * Add .travis.yml to make dist rule + * Makefile: bump version + * Add kpage count stats + * Rename idx to avoid name shadowing with global function index + * Add travis yaml file + +--- +Sun Jun 17 15:33:19 UTC 2018 - mar...@gmx.de + +- Update to version 0.01.13 + * Makefile: bump version + * Add some more constifications + * voidify function returns + * debian/copyright: use secure URI + * debian/control: update debhelper to >= 11 + * debian/compat: update to 11 + * debian/control: remove trailing empty line + +--- Old: pagemon-0.01.12.tar.gz New: pagemon-0.01.14.tar.gz Other differences: -- ++ pagemon.spec ++ --- /var/tmp/diff_new_pack.xA6GjF/_old 2018-07-12 09:21:40.350628965 +0200 +++ /var/tmp/diff_new_pack.xA6GjF/_new 2018-07-12 09:21:40.354628970 +0200 @@ -18,15 +18,14 @@ Name: pagemon -Version:0.01.12 +Version:0.01.14 Release:0 Summary:Interactive memory/page monitoring tool -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Monitoring -Url:http://kernel.ubuntu.com/~cking/pagemon +URL:http://kernel.ubuntu.com/~cking/pagemon Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz BuildRequires: ncurses-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description pagemon is a ncurses based interactive memory/page monitoring tool @@ -44,9 +43,9 @@ %make_install %files -%defattr(-,root,root) -%doc COPYING README +%license COPYING +%doc README %{_sbindir}/pagemon -%{_mandir}/man8/pagemon.8%{ext_man} +%{_mandir}/man8/pagemon.8%{?ext_man} %changelog ++ pagemon-0.01.12.tar.gz -> pagemon-0.01.14.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.12/Makefile new/pagemon-0.01.14/Makefile --- old/pagemon-0.01.12/Makefile2018-01-11 10:41:14.0 +0100 +++ new/pagemon-0.01.14/Makefile2018-07-09 09:35:56.0 +0200 @@ -18,7 +18,7 @@ # Author: Colin Ian King # -VERSION=0.01.12 +VERSION=0.01.14 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -fPIC LDFLAGS += -lncurses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.12/pagemon.c new/pagemon-0.01.14/pagemon.c --- old/pagemon-0.01.12/pagemon.c 2018-01-11 10:41:14.0 +0100 +++ new/pagemon-0.01.14/pagemon.c 2018-07-09 09:35:56.0 +0200 @@ -212,7 +212,7 @@ * mem_to_str() * report memory in different units */ -static void mem_to_str(const addr_t addr, char *buf, const size_t buflen) +static void mem_to_str(const addr_t addr, char *const buf, const size_t buflen) { uint64_t scaled, val = (uint64_t)addr; char unit; @@ -230,7 +230,7 @@ scaled = val / TB; unit = 'T'; } - snprintf(buf, buflen, "%7" PRIu64 " %c", scaled, unit); + (void)snprintf(buf, buflen, "%7" PRIu64 " %c", scaled, unit); } /* @@ -240,7 +240,7 @@ */ static int read_buf( const char *path, - char *buffer, + char *const buffer, const size_t sz) { int fd; @@ -280,7 +280,7 @@ if (isnum) { pid = (pid_t)strtol(name, NULL, 10); if (errno || (pid < 1)) { - fprintf(stderr, "Invalid pid value '%s'\n", name); + (void)fprintf(stderr, "Invalid pid value '%s'\n", name); return 0; } return pid; @@ -297,7 +297,8 @@ if (!isdigit(d->d_name[0])) continue; - snprintf(path, sizeof(path), "/proc/%s/cmdline", d->d_name); + (void)snprintf(path, sizeof(path), "/proc/%s/cmdline", +
commit pagemon for openSUSE:Factory
Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2018-01-13 21:48:13 Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new (New) Package is "pagemon" Sat Jan 13 21:48:13 2018 rev:4 rq:563697 version:0.01.12 Changes: --- /work/SRC/openSUSE:Factory/pagemon/pagemon.changes 2017-12-31 01:14:05.679581192 +0100 +++ /work/SRC/openSUSE:Factory/.pagemon.new/pagemon.changes 2018-01-13 21:48:14.780399703 +0100 @@ -1,0 +2,9 @@ +Thu Jan 11 19:46:58 UTC 2018 - mar...@gmx.de + +- Update to version 0.01.12 + * Makefile: bump version + * Makefile: Add -fPIC + * Fix build failure on ia64 when perf is not available + * Update copyright year + +--- Old: pagemon-0.01.11.tar.gz New: pagemon-0.01.12.tar.gz Other differences: -- ++ pagemon.spec ++ --- /var/tmp/diff_new_pack.9ngH5g/_old 2018-01-13 21:48:15.412370240 +0100 +++ /var/tmp/diff_new_pack.9ngH5g/_new 2018-01-13 21:48:15.416370053 +0100 @@ -1,7 +1,7 @@ # # spec file for package pagemon # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, Martin Hauke# # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: pagemon -Version:0.01.11 +Version:0.01.12 Release:0 Summary:Interactive memory/page monitoring tool License:GPL-2.0+ ++ pagemon-0.01.11.tar.gz -> pagemon-0.01.12.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.11/Makefile new/pagemon-0.01.12/Makefile --- old/pagemon-0.01.11/Makefile2017-12-27 18:21:14.0 +0100 +++ new/pagemon-0.01.12/Makefile2018-01-11 10:41:14.0 +0100 @@ -1,5 +1,5 @@ # -# Copyright (C) 2015-2017 Colin Ian King +# Copyright (C) 2015-2018 Colin Ian King # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -18,9 +18,9 @@ # Author: Colin Ian King # -VERSION=0.01.11 +VERSION=0.01.12 -CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 +CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -fPIC LDFLAGS += -lncurses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.11/README new/pagemon-0.01.12/README --- old/pagemon-0.01.11/README 2017-12-27 18:21:14.0 +0100 +++ new/pagemon-0.01.12/README 2018-01-11 10:41:14.0 +0100 @@ -8,4 +8,4 @@ Requirements: ncurses development library -Copyright (C) Colin Ian King, 2015-2017 +Copyright (C) Colin Ian King, 2015-2018 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.11/pagemon.c new/pagemon-0.01.12/pagemon.c --- old/pagemon-0.01.11/pagemon.c 2017-12-27 18:21:14.0 +0100 +++ new/pagemon-0.01.12/pagemon.c 2018-01-11 10:41:14.0 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) Colin Ian King 2015-2017 + * Copyright (C) Colin Ian King 2015-2018 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -1504,7 +1504,9 @@ case 'c': case 'C': /* Clear pop ups */ +#if defined(PERF_ENABLED) g.perf_view = false; +#endif g.vm_view = false; g.tab_view = false; g.help_view = false; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.11/perf.c new/pagemon-0.01.12/perf.c --- old/pagemon-0.01.11/perf.c 2017-12-27 18:21:14.0 +0100 +++ new/pagemon-0.01.12/perf.c 2018-01-11 10:41:14.0 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) Colin Ian King 2015-2017 + * Copyright (C) Colin Ian King 2015-2018 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.11/perf.h new/pagemon-0.01.12/perf.h --- old/pagemon-0.01.11/perf.h 2017-12-27 18:21:14.0 +0100 +++ new/pagemon-0.01.12/perf.h 2018-01-11 10:41:14.0 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) Colin Ian King 2015-2017 + * Copyright (C) Colin Ian King 2015-2018 * * This program is free software; you can redistribute it and/or * modify it under the terms
commit pagemon for openSUSE:Factory
Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2017-12-31 01:13:53 Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new (New) Package is "pagemon" Sun Dec 31 01:13:53 2017 rev:3 rq:560554 version:0.01.11 Changes: --- /work/SRC/openSUSE:Factory/pagemon/pagemon.changes 2017-05-18 20:50:04.744366616 +0200 +++ /work/SRC/openSUSE:Factory/.pagemon.new/pagemon.changes 2017-12-31 01:14:05.679581192 +0100 @@ -0,0 +1,7 @@ +--- +Thu Dec 28 14:55:04 UTC 2017 - mar...@gmx.de + +- Update to version 0.01.11 + * Bump version + * Update Standards-Version to 4.1.2 + * Print physical location rather than pfn Old: pagemon-0.01.10.tar.gz New: pagemon-0.01.11.tar.gz Other differences: -- ++ pagemon.spec ++ --- /var/tmp/diff_new_pack.pRH3yF/_old 2017-12-31 01:14:06.191410429 +0100 +++ /var/tmp/diff_new_pack.pRH3yF/_new 2017-12-31 01:14:06.191410429 +0100 @@ -18,7 +18,7 @@ Name: pagemon -Version:0.01.10 +Version:0.01.11 Release:0 Summary:Interactive memory/page monitoring tool License:GPL-2.0+ ++ pagemon-0.01.10.tar.gz -> pagemon-0.01.11.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.10/Makefile new/pagemon-0.01.11/Makefile --- old/pagemon-0.01.10/Makefile2016-11-02 20:36:14.0 +0100 +++ new/pagemon-0.01.11/Makefile2017-12-27 18:21:14.0 +0100 @@ -1,5 +1,5 @@ # -# Copyright (C) 2015-2016 Colin Ian King +# Copyright (C) 2015-2017 Colin Ian King # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -18,7 +18,7 @@ # Author: Colin Ian King# -VERSION=0.01.10 +VERSION=0.01.11 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 LDFLAGS += -lncurses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.10/README new/pagemon-0.01.11/README --- old/pagemon-0.01.10/README 2016-11-02 20:36:14.0 +0100 +++ new/pagemon-0.01.11/README 2017-12-27 18:21:14.0 +0100 @@ -8,4 +8,4 @@ Requirements: ncurses development library -Copyright (C) Colin Ian King, 2015,2016 +Copyright (C) Colin Ian King, 2015-2017 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.10/pagemon.c new/pagemon-0.01.11/pagemon.c --- old/pagemon-0.01.10/pagemon.c 2016-11-02 20:36:14.0 +0100 +++ new/pagemon-0.01.11/pagemon.c 2017-12-27 18:21:14.0 +0100 @@ -1,4 +1,6 @@ /* + * Copyright (C) Colin Ian King 2015-2017 + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 @@ -13,7 +15,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * Copyright (C) Colin Ian King 2015-2016 * colin.i.k...@gmail.com */ #include @@ -672,31 +673,36 @@ " Flag: 0x%16.16" PRIx64 "%18s", pagemap_info, ""); if (pagemap_info & PAGE_SWAPPED) { mvwprintw(g.mainwin, 10, x, - " Swap Type: 0x%2.2" PRIx64 "%20s", + " Swap Type: 0x%2.2" PRIx64 "%22s", pagemap_info & 0x1f, ""); mvwprintw(g.mainwin, 11, x, - " Swap Offset: 0x%16.16" PRIx64 "%6s", + " Swap Offset: 0x%16.16" PRIx64 "%8s", (pagemap_info & 0x00ffULL) >> 5, ""); } else { mvwprintw(g.mainwin, 10, x, "%48s", ""); - mvwprintw(g.mainwin, 11, x, - " Page Frame Number: 0x%16.16" PRIx64 "%6s", - pagemap_info & 0x00ffULL, ""); + if (pagemap_info & PAGE_PRESENT) { + mvwprintw(g.mainwin, 11, x, + " Physical Address:0x%16.16" PRIx64 "%8s", + (pagemap_info & 0x00ffULL) * g.page_size, ""); + } else { + mvwprintw(g.mainwin, 11, x, + " Physical Address:0x%8s", ""); + } } mvwprintw(g.mainwin, 12, x, - " Soft-dirty PTE: %3s%21s", + "
commit pagemon for openSUSE:Factory
Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2017-05-18 20:49:54 Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new (New) Package is "pagemon" Thu May 18 20:49:54 2017 rev:2 rq:495693 version:0.01.10 Changes: --- /work/SRC/openSUSE:Factory/pagemon/pagemon.changes 2016-09-21 18:46:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.pagemon.new/pagemon.changes 2017-05-18 20:50:04.744366616 +0200 @@ -0,0 +1,15 @@ + +--- +Wed May 10 14:59:53 UTC 2017 - mar...@gmx.de + +- update to version 0.01.10 + * Makefile: bump version + * fix shadowing offset variable + * fix shadowing map variable + * Makefile: Add PEDANTIC gcc flags + +- update to version 0.01.09 + * Makefile: bump version + * Debian/control: update Standards-Version to 3.9.8 + * Remove redundant statement, found using scan-build + Old: pagemon-0.01.08.tar.gz New: pagemon-0.01.10.tar.gz Other differences: -- ++ pagemon.spec ++ --- /var/tmp/diff_new_pack.s0nosQ/_old 2017-05-18 20:50:06.692091740 +0200 +++ /var/tmp/diff_new_pack.s0nosQ/_new 2017-05-18 20:50:06.696091175 +0200 @@ -1,7 +1,8 @@ # # spec file for package pagemon # -# Copyright (c) 2016, Martin Hauke+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017, Martin Hauke # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +18,7 @@ Name: pagemon -Version:0.01.08 +Version:0.01.10 Release:0 Summary:Interactive memory/page monitoring tool License:GPL-2.0+ @@ -46,6 +47,6 @@ %defattr(-,root,root) %doc COPYING README %{_sbindir}/pagemon -%{_mandir}/man8/* +%{_mandir}/man8/pagemon.8%{ext_man} %changelog ++ pagemon-0.01.08.tar.gz -> pagemon-0.01.10.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.08/Makefile new/pagemon-0.01.10/Makefile --- old/pagemon-0.01.08/Makefile2016-01-31 14:11:27.0 +0100 +++ new/pagemon-0.01.10/Makefile2016-11-02 20:36:14.0 +0100 @@ -18,11 +18,21 @@ # Author: Colin Ian King # -VERSION=0.01.08 +VERSION=0.01.10 CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 LDFLAGS += -lncurses + +# Pedantic flags +# +ifeq ($(PEDANTIC),1) +CFLAGS += -Wabi -Wcast-qual -Wfloat-equal -Wmissing-declarations \ + -Wmissing-format-attribute -Wno-long-long -Wpacked \ + -Wredundant-decls -Wshadow -Wno-missing-field-initializers \ + -Wno-missing-braces -Wno-sign-compare -Wno-multichar +endif + BINDIR=/usr/sbin MANDIR=/usr/share/man/man8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.08/pagemon.c new/pagemon-0.01.10/pagemon.c --- old/pagemon-0.01.08/pagemon.c 2016-01-31 14:11:27.0 +0100 +++ new/pagemon-0.01.10/pagemon.c 2016-11-02 20:36:14.0 +0100 @@ -734,7 +734,6 @@ index = page_index; for (i = 1; i <= ymax; i++) { int32_t j; - map_t *map; addr_t addr, offset; const size_t sz = sizeof(pagemap_info_buf); @@ -768,11 +767,9 @@ attr = COLOR_PAIR(BLACK_BLACK); state = '~'; } else { - off_t offset; map_t *new_map; register pagemap_t pagemap_info; - addr = g.mem_info.pages[index].addr; new_map = g.mem_info.pages[index].map; /* * On a different mapping? If so, slurp up
commit pagemon for openSUSE:Factory
Hello community, here is the log from the commit of package pagemon for openSUSE:Factory checked in at 2016-09-21 18:46:24 Comparing /work/SRC/openSUSE:Factory/pagemon (Old) and /work/SRC/openSUSE:Factory/.pagemon.new (New) Package is "pagemon" Changes: New Changes file: --- /dev/null 2016-09-15 12:42:18.240042505 +0200 +++ /work/SRC/openSUSE:Factory/.pagemon.new/pagemon.changes 2016-09-21 18:46:26.0 +0200 @@ -0,0 +1,5 @@ +--- +Thu Feb 18 10:59:15 UTC 2016 - mar...@gmx.de + +- initial package + New: pagemon-0.01.08.tar.gz pagemon.changes pagemon.spec Other differences: -- ++ pagemon.spec ++ # # spec file for package pagemon # # Copyright (c) 2016, Martin Hauke# # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: pagemon Version:0.01.08 Release:0 Summary:Interactive memory/page monitoring tool License:GPL-2.0+ Group: System/Monitoring Url:http://kernel.ubuntu.com/~cking/pagemon Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz BuildRequires: ncurses-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description pagemon is a ncurses based interactive memory/page monitoring tool allowing one to browse the memory map of an active running process on Linux. %prep %setup -q %build export CFLAGS="%{optflags}" make %{?_smp_mflags} %install %make_install %files %defattr(-,root,root) %doc COPYING README %{_sbindir}/pagemon %{_mandir}/man8/* %changelog