public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* src/runtime ChangeLog alloc.c map-gen.c map-st ...
@ 2005-11-08 19:48 hunt
  0 siblings, 0 replies; only message in thread
From: hunt @ 2005-11-08 19:48 UTC (permalink / raw)
  To: systemtap-cvs

CVSROOT:	/cvs/systemtap
Module name:	src
Changes by:	hunt@sourceware.org	2005-11-08 19:48:23

Modified files:
	runtime        : ChangeLog alloc.c map-gen.c map-stat.c map.c 
	                 map.doc map.h stat-common.c stat.c stat.h 
Added files:
	runtime        : pmap-gen.c 

Log message:
	2005-11-08  Martin Hunt  <hunt@redhat.com>
	
	* map.c (_stp_map_init): New function. Extracted from _stp_map_new()
	so it can be used in _stp_pmap_new().
	(_stp_map_new): Call _stp_map_init().
	(_stp_pmap_new): New function.
	(_stp_pmap_new_hstat_linear): New function.
	(_stp_pmap_new_hstat_log): New function.
	(_stp_pmap_del): New function.
	(_stp_pmap_printn_cpu): New function.
	(_stp_pmap_printn): New function.
	(_stp_new_agg): New function.
	(_stp_add_agg): New function.
	(_stp_pmap_agg): New function.
	(_new_map_clear_node): New function.
	
	* map.h (struct map_root): Add Hist struct. Add copy
	and cmp function pointers for pmaps.
	
	* stat.h: Remove Stat struct. Replace with Hist struct
	that is limited to only histogram params.
	* map-stat.c: Fix up references to histogram params in map_root.
	* stat-common.c: Ditto.
	* stat.c: Ditto.
	
	* pmap-gen.c: New file. Implements per-cpu maps.
	
	* map-gen.c: Minor bug fixes. Use new VAL_IS_ZERO() macro.
	
	* alloc.c (vmalloc_node): For NUMA, provide a vmalloc that
	does node-local allocations.
	(_stp_alloc_cpu): A version of _stp_alloc() that does
	node-local allocations.
	(_stp_valloc): A version of _stp_valloc() that does
	node-local allocations.
	(__stp_valloc_percpu): New function. Like alloc_percpu()
	except uses _stp_valloc().
	(_stp_vfree_percpu): New function. Like free_percpu().

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/pmap-gen.c.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/ChangeLog.diff?cvsroot=systemtap&r1=1.71&r2=1.72
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/alloc.c.diff?cvsroot=systemtap&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map-gen.c.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map-stat.c.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map.c.diff?cvsroot=systemtap&r1=1.19&r2=1.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map.doc.diff?cvsroot=systemtap&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map.h.diff?cvsroot=systemtap&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/stat-common.c.diff?cvsroot=systemtap&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/stat.c.diff?cvsroot=systemtap&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/stat.h.diff?cvsroot=systemtap&r1=1.2&r2=1.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-08 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-08 19:48 src/runtime ChangeLog alloc.c map-gen.c map-st hunt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).