From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7600 invoked by alias); 26 Mar 2010 21:14:08 -0000 Received: (qmail 7576 invoked by uid 440); 26 Mar 2010 21:14:07 -0000 Date: Fri, 26 Mar 2010 21:14:00 -0000 Message-ID: <20100326211407.7563.qmail@sourceware.org> From: scox@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-15-gb642c90 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 7ad76102c4cd18e083ea74abd413332da55426d1 X-Git-Newrev: b642c901a918a92fdd6b1167ed02dfe4c50cdd3e 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: 2010-q1/txt/msg00281.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 b642c901a918a92fdd6b1167ed02dfe4c50cdd3e (commit) from 7ad76102c4cd18e083ea74abd413332da55426d1 (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 b642c901a918a92fdd6b1167ed02dfe4c50cdd3e Author: Stan Cox Date: Fri Mar 26 17:14:32 2010 -0400 Add kprobe user probe semaphore handling. Adds stap_kprobe_process_found and stap_kprobe_mmap_found handlers and then the task_finder uses those to set the semaphore values. The probe adds user_path and user_lib which are used by the task_finder to decide what object to sniff. * sdt.h (STAP_SEMAPHORE): Also define for kprobes. * tapsets.cxx (dwarf_derived_probe): Add user_path and user_lib. (dwarf_derived_probe::join_group): Enable task finder for kprobes. (dwarf_derived_probe::dwarf_derived_probe): Set user_path and user_lib. (dwarf_derived_probe_group::emit_module_decls): Emit stap_kprobe_mmap_found, sdt_sem_offset, sdt_sem_address, pathname, and finder declarations. Emit stap_kprobe_process_found and stap_kprobe_mmap_found. (dwarf_derived_probe_group::emit_module_init): Setup task finder. (sdt_query::convert_location): Remove TOK_LIBRARY token. (dwarf_builder::build): Set user_path and user_lib. (kprobe_derived_probe): Add path and library. (kprobe_builder::build): Get process and library params ----------------------------------------------------------------------- Summary of changes: includes/sys/sdt.h | 10 +- tapsets.cxx | 213 +++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 198 insertions(+), 25 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool