Package: libprocps0-dev
Version: 1:3.3.3-2
Severity: normal
Tags: patch, upstream

--- Please enter the report below this line. ---

Dear Maintainer, I try to make ulatencyd (#682712, #680123) get rid of
the embedded ancient libproc and it is not possible without more
symbols being exported by libprocps. IMHO, the symbols I need,
complement those already exported.

+ freeproc - IMHO libprocps0-dev is mostly unusable without it (#681653)

+ missing kb_* variables
+ vminfo and vm_* variables

+ group_from_gid (complement to exported user_from_uid)

I know there is ongoing effort to remove exported global variables,
such as kb_*, but I would like to be able to use all kb_* variables
and vm_* in the meantime.

I have requested pull of attached patch to procps-ng repo
https://gitorious.org/procps/procps/merge_requests/6#9d710916bc0bd0f8b91aa7bc5cc541c51ab6846e-9d710916bc0bd0f8b91aa7bc5cc541c51ab6846e@1

Thanks,
Petr

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.2.0-3-amd64

Debian Release: wheezy/sid
  500 testing         security.debian.org 
  500 testing         ftp.cz.debian.org 
  500 stable          deb.opera.com 
  100 testing         www.deb-multimedia.org 

--- Package information. ---
Depends            (Version) | Installed
============================-+-==============
libprocps0     (= 1:3.3.3-2) | 1:3.3.3-2
libc-dev                     | 


Package's Recommends field is empty.

Package's Suggests field is empty.




-- 
S pozdravem,
Petr Gajdůšek
## Description: add some description
## Origin/Author: add some origin or author
## Bug: bug URL
>From 9d710916bc0bd0f8b91aa7bc5cc541c51ab6846e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20Gajd=C5=AF=C5=A1ek?= <gajdusek.p...@centrum.cz>
Date: Mon, 27 Aug 2012 01:33:42 +0200
Subject: [PATCH] libprocps: export more symbols complementing those already
 exported
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ freeproc !!

+ missing kb_* variables
+ vminfo and vm_* variables

+ group_from_gid (complement to exported user_from_uid)

Signed-off-by: Petr Gajdůšek <gajdusek.p...@centrum.cz>
---
 proc/libprocps.sym |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/proc/libprocps.sym b/proc/libprocps.sym
index 141ca85..f58ec48 100644
--- a/proc/libprocps.sym
+++ b/proc/libprocps.sym
@@ -10,6 +10,7 @@ global:
 	escape_strlist;
 	escaped_copy;
 	free_slabinfo;
+	freeproc;
 	get_pid_digits;
 	get_slabinfo;
 	getbtime;
@@ -17,10 +18,17 @@ global:
 	getpartitions_num;
 	getslabinfo;
 	getstat;
+	group_from_gid;
 	kb_active;
+	kb_committed_as;
+	kb_dirty;
 	kb_high_free;
 	kb_high_total;
+	kb_inact_clean;
+	kb_inact_dirty;
 	kb_inactive;
+	kb_inact_laundry;
+	kb_inact_target;
 	kb_low_free;
 	kb_low_total;
 	kb_main_buffers;
@@ -29,9 +37,14 @@ global:
 	kb_main_shared;
 	kb_main_total;
 	kb_main_used;
+	kb_mapped;
+	kb_pagetables;
+	kb_slab;
+	kb_swap_cached;
 	kb_swap_free;
 	kb_swap_total;
 	kb_swap_used;
+	kb_writeback;
 	linux_version_code;
 	loadavg;
 	look_up_our_self;
@@ -59,6 +72,30 @@ global:
 	unix_print_signals;
 	uptime;
 	user_from_uid;
+	vm_allocstall;
+	vm_kswapd_steal;
+	vm_nr_dirty;
+	vm_nr_mapped;
+	vm_nr_pagecache;
+	vm_nr_page_table_pages;
+	vm_nr_reverse_maps;
+	vm_nr_slab;
+	vm_nr_writeback;
+	vm_pageoutrun;
+	vm_pgactivate;
+	vm_pgalloc;
+	vm_pgdeactivate;
+	vm_pgfault;
+	vm_pgfree;
+	vm_pgmajfault;
+	vm_pgpgin;
+	vm_pgpgout;
+	vm_pgrefill;
+	vm_pgscan;
+	vm_pgsteal;
+	vm_pswpin;
+	vm_pswpout;
+	vminfo;
 local:
 	*;
 };
-- 
1.7.10.4

Reply via email to