From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7629 invoked by alias); 12 Nov 2011 21:36:39 -0000 Received: (qmail 7601 invoked by uid 9112); 12 Nov 2011 21:36:39 -0000 Date: Sat, 12 Nov 2011 21:36:00 -0000 Message-ID: <20111112213639.7589.qmail@sourceware.org> From: mark@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.6-405-gdf9aa2c X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 88e39987df7109b26343c9c33567646873d6f829 X-Git-Newrev: df9aa2ce436132568b8f94e9d69e63992d2bf779 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/msg00116.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 df9aa2ce436132568b8f94e9d69e63992d2bf779 (commit) from 88e39987df7109b26343c9c33567646873d6f829 (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 df9aa2ce436132568b8f94e9d69e63992d2bf779 Author: Mark Wielaard Date: Sat Nov 12 22:30:28 2011 +0100 sched_switch.stp parse arguments once, workaround name argument WARNINGs. stap got smarter and now detects some arguments aren't used or used "wrongly". Add a begin probe to parse the arguments, use strtol if necessary, and add usage message in case wrong number of args were given. This suppresses WARNINGs for 'stap sched_switch.stp name firefox': WARNING: never-assigned local variable 'firefox' (alternatives: __tracepoint_arg_p name task task_pid task_tid task_priority task_cpu task_state): identifier 'firefox' at testsuite/systemtap.examples/profiling/sched_switch.stp:34:19 source: if (task_pid != $2 && pid() != $2) ^ WARNING: never-assigned local variable 'firefox' (alternatives: __tracepoint_arg_prev __tracepoint_arg_next next_pid next_tid next_task next_task_name nexttsk_state next_priority prev_priority prev_pid prev_tid prev_task prev_task_name prevtsk_state name): identifier 'firefox' at :53:19 source: if (next_pid != $2 && prev_pid != $2) ^ WARNING: Eliding unused variable 'firefox': identifier 'firefox' at :34:19 source: if (task_pid != $2 && pid() != $2) ^ ----------------------------------------------------------------------- Summary of changes: .../systemtap.examples/profiling/sched_switch.stp | 51 +++++++++++++------ 1 files changed, 35 insertions(+), 16 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool