From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31112 invoked by alias); 12 Oct 2011 00:59:17 -0000 Received: (qmail 31075 invoked by uid 9586); 12 Oct 2011 00:59:16 -0000 Date: Wed, 12 Oct 2011 00:59:00 -0000 Message-ID: <20111012005916.31064.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.6-297-g832f100 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 3c5dc9341005e128957e5ea5d6aa199d4011c30c X-Git-Newrev: 832f100d34c6e16222b5a380fbc87270c9cc488e 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: 2011-q4/txt/msg00019.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 832f100d34c6e16222b5a380fbc87270c9cc488e (commit) via a52d2ac00e1452cc3d2870f60523067ba766a791 (commit) via 8aa43b8d32dcd728a88250a9a53f803d37aaaab5 (commit) via 8e0a2563be208daf319d8eb720fc6236e211537d (commit) via 2a0e62a892c4d3f4bbab29fac9105ec98594a2d1 (commit) via c252fca28cedf267799abdb2698abbb3e4f051ca (commit) from 3c5dc9341005e128957e5ea5d6aa199d4011c30c (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 832f100d34c6e16222b5a380fbc87270c9cc488e Author: Josh Stone Date: Tue Oct 11 16:55:59 2011 -0700 tracepoints: Add support for CONDITION events These are events that check a condition before raising callbacks, but take no hit for the condition when not tracing. We don't have to do anything special in stap except handle the new macro, as the condition is handled at the trace site. * tapsets.cxx (tracepoint_builder::get_tracequery_modules): Add a definition for DECLARE_TRACE_CONDITION. Also settle the macro- arg wrappers to PARAMS(). commit a52d2ac00e1452cc3d2870f60523067ba766a791 Author: Josh Stone Date: Tue Oct 11 15:04:13 2011 -0700 tracepoints: Support reading enum parameters * tapsets.cxx (resolve_tracepoint_arg_type): Treat enum like any other numeric base type, simply casted to int64_t. (tracepoint_derived_probe::build_args): Log parameter availability. commit 8aa43b8d32dcd728a88250a9a53f803d37aaaab5 Author: Josh Stone Date: Tue Oct 11 14:15:27 2011 -0700 tracepoints: Skip identical headers from the build and source trees In preparing the tracequery source, we normalize paths containing "include/" to just the suffix part, so the header will be found by the normal -I path. However, the debuginfo source tree usually contains at least the same headers found in the build tree. We were thus building effectively the same tracequery twice for headers that are present in both the build and source trees. Stop that! * tapsets.cxx (tracepoint_builder::init_dw): Build the header list with knowledge of the "include/" normalization to avoid extra work. commit 8e0a2563be208daf319d8eb720fc6236e211537d Author: Josh Stone Date: Tue Oct 11 13:42:04 2011 -0700 tracepoints: Avoid building tracequery.ko targets Since we're now only using the tracequery.o intermediates, we can forgo building the tracequery.ko modules altogether. This saves about a third of the processing time on my machine. * buildrun.cxx (make_any_make_cmd): New, the common make_cmd base. (make_make_cmd): The normal case targets "modules". (make_make_objs_cmd): New, build only stage-1 objects. (make_tracequeries): Call make_make_objs_cmd. commit 2a0e62a892c4d3f4bbab29fac9105ec98594a2d1 Author: Josh Stone Date: Tue Oct 11 13:21:34 2011 -0700 tracepoints: Work with the tracequery's .o rather than .ko The intermediate object files are slightly smaller, since they don't have any of the module boilerplate compiled in yet. It still has what we need though, just the basic stapprobe_* function definitions. * buildrun.cxx (make_tracequeries): Return .o filenames rather than .ko. * hash.cxx (find_tracequery_hash): Use .o for cached filenames. * tapsets.cxx (tracepoint_builder::get_tracequery_modules): Update comments and variable names to refer to objects instead of kos. commit c252fca28cedf267799abdb2698abbb3e4f051ca Author: Josh Stone Date: Tue Oct 11 13:13:40 2011 -0700 tracepoints: Cache an empty file for failures When a tracepoint header doesn't compile for any reason, we'd like not to keep trying on subsequent runs. This patch restores previous behavior that would save an empty file in the cache, signaling that we've tried this header before and can't get anything from it. * tapsets.cxx (tracepoint_builder::get_tracequery_modules): When reading from the cache, note and skip empty files. When saving to the cache, copy /dev/null for those that failed to compile. ----------------------------------------------------------------------- Summary of changes: buildrun.cxx | 37 +++++++++++++++++++++++++------- hash.cxx | 2 +- tapsets.cxx | 66 ++++++++++++++++++++++++++++++++++++++++----------------- 3 files changed, 76 insertions(+), 29 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool