From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24670 invoked by alias); 7 Aug 2012 01:02:39 -0000 Received: (qmail 24618 invoked by uid 9586); 7 Aug 2012 01:02:35 -0000 Date: Tue, 07 Aug 2012 01:02:00 -0000 Message-ID: <20120807010235.24606.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-147-gff811c3 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 87eeec9407f8afa5af1037600272eebf0561e1d1 X-Git-Newrev: ff811c3dcafe9892a6447cfc61303284c4dfb545 Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2012-q3/txt/msg00087.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "systemtap: system-wide probe/trace tool". The branch, master has been updated via ff811c3dcafe9892a6447cfc61303284c4dfb545 (commit) from 87eeec9407f8afa5af1037600272eebf0561e1d1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ff811c3dcafe9892a6447cfc61303284c4dfb545 Author: Josh Stone Date: Mon Aug 6 17:46:38 2012 -0700 stapdyn: Enable map and stat types There are a lot of kernel-isms in the map code especially, and rather than try to rewrite all that, I've simply copied the necessary bits from the kernel. The new pieces are mostly list and hash related. * runtime/dyninst/alloc.c (_stp_alloc_percpu): Needs to be zeroed. * runtime/dyninst/runtime.h: Add BITS_PER_LONG and stap_hash_seed. Also extract various bits copied from the kernel into new files. * runtime/dyninst/linux_types.h: Reused Linux type definitions. * runtime/dyninst/linux_defs.h: Other various reused Linux code. * runtime/dyninst/linux_hash.h: Direct copy of hashing from Linux. * runtime/dyninst/ilog2.h: Linux's ilog2(), but just for constants. * runtime/dyninst/probe_lock.h: Typedef rwlock_t on pthreads. * runtime/map.c: Don't need sym.c, and emulate ALIGN(). * runtime/map.h: Locate ilog2, and fix NEED_MAP_LOCKS check. ----------------------------------------------------------------------- Summary of changes: runtime/dyninst/alloc.c | 2 +- runtime/dyninst/ilog2.h | 109 +++++++++++++ runtime/dyninst/{runtime.h => linux_defs.h} | 223 ++++++++++++++------------- runtime/dyninst/linux_hash.h | 70 +++++++++ runtime/dyninst/linux_types.h | 33 ++++ runtime/dyninst/probe_lock.h | 8 +- runtime/dyninst/runtime.h | 185 +--------------------- runtime/map.c | 5 +- runtime/map.h | 9 +- 9 files changed, 349 insertions(+), 295 deletions(-) create mode 100644 runtime/dyninst/ilog2.h copy runtime/dyninst/{runtime.h => linux_defs.h} (58%) create mode 100644 runtime/dyninst/linux_hash.h create mode 100644 runtime/dyninst/linux_types.h hooks/post-receive -- systemtap: system-wide probe/trace tool