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 - mardnh@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/Makefile 2016-11-02 20:36:14.000000000 +0100 +++ new/pagemon-0.01.11/Makefile 2017-12-27 18:21:14.000000000 +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 <colin.i.king@gmail.com> # -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.000000000 +0100 +++ new/pagemon-0.01.11/README 2017-12-27 18:21:14.000000000 +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.000000000 +0100 +++ new/pagemon-0.01.11/pagemon.c 2017-12-27 18:21:14.000000000 +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.king@gmail.com */ #include <stdio.h> @@ -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 & 0x00ffffffffffffffULL) >> 5, ""); } else { mvwprintw(g.mainwin, 10, x, "%48s", ""); - mvwprintw(g.mainwin, 11, x, - " Page Frame Number: 0x%16.16" PRIx64 "%6s", - pagemap_info & 0x00ffffffffffffffULL, ""); + if (pagemap_info & PAGE_PRESENT) { + mvwprintw(g.mainwin, 11, x, + " Physical Address: 0x%16.16" PRIx64 "%8s", + (pagemap_info & 0x00ffffffffffffffULL) * g.page_size, ""); + } else { + mvwprintw(g.mainwin, 11, x, + " Physical Address: 0x----------------%8s", ""); + } } mvwprintw(g.mainwin, 12, x, - " Soft-dirty PTE: %3s%21s", + " Soft-dirty PTE: %3s%23s", (pagemap_info & PAGE_PTE_SOFT_DIRTY) ? "Yes" : "No ", ""); mvwprintw(g.mainwin, 13, x, - " Exclusively Mapped: %3s%21s", + " Exclusively Mapped: %3s%23s", (pagemap_info & PAGE_EXCLUSIVE_MAPPED) ? "Yes" : "No ", ""); mvwprintw(g.mainwin, 14, x, - " File or Shared Anon: %3s%21s", + " File or Shared Anon: %3s%23s", (pagemap_info & PAGE_FILE_SHARED_ANON) ? "Yes" : "No ", ""); mvwprintw(g.mainwin, 15, x, - " Present in Swap: %3s%21s", + " Present in Swap: %3s%23s", (pagemap_info & PAGE_SWAPPED) ? "Yes" : "No ", ""); mvwprintw(g.mainwin, 16, x, - " Present in RAM: %3s%21s", + " Present in RAM: %3s%23s", (pagemap_info & PAGE_PRESENT) ? "Yes" : "No ", ""); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.10/perf.c new/pagemon-0.01.11/perf.c --- old/pagemon-0.01.10/perf.c 2016-11-02 20:36:14.000000000 +0100 +++ new/pagemon-0.01.11/perf.c 2017-12-27 18:21:14.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (C) Colin Ian King + * 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pagemon-0.01.10/perf.h new/pagemon-0.01.11/perf.h --- old/pagemon-0.01.10/perf.h 2016-11-02 20:36:14.000000000 +0100 +++ new/pagemon-0.01.11/perf.h 2017-12-27 18:21:14.000000000 +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
participants (1)
-
root@hilbert.suse.de