public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
From: hunt@sourceware.org
To: systemtap-cvs@sources.redhat.com
Subject: src/runtime ChangeLog alloc.c map-gen.c map-st ...
Date: Tue, 08 Nov 2005 19:48:00 -0000	[thread overview]
Message-ID: <20051108194823.21554.qmail@sourceware.org> (raw)

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


                 reply	other threads:[~2005-11-08 19:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051108194823.21554.qmail@sourceware.org \
    --to=hunt@sourceware.org \
    --cc=systemtap-cvs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).