This is the mail archive of the systemtap-cvs@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.6-405-gdf9aa2c


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 <mjw@redhat.com>
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]