From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20022 invoked by alias); 1 Dec 2009 17:56:03 -0000 Received: (qmail 19988 invoked by uid 426); 1 Dec 2009 17:56:01 -0000 Date: Tue, 01 Dec 2009 17:56:00 -0000 Message-ID: <20091201175600.19977.qmail@sourceware.org> From: fche@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.0-305-g89a75eb X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 9b66e023ce3f320cb560ab6e2cc78a219e262c5e X-Git-Newrev: 89a75eb6a5a6dc345a718ffbd119651222686026 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: 2009-q4/txt/msg00177.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 89a75eb6a5a6dc345a718ffbd119651222686026 (commit) via 98c783852039061db8c1611742660aaded0eab77 (commit) via 5f4fd35709b9b3e94873c6e38c574066c470a9e3 (commit) via b7c4fdcf0991791bf13b144c72767ff6b98cff53 (commit) via fb4653ea565018aa26a730db6b59ff64f2c6afa8 (commit) via 2069eacc8e19d784bb9e5eb532fcd61e5de1b606 (commit) via 51280c12d044b671b16ce59396658ac5a0f24650 (commit) via f5fd3c39dcec944feb8aa91808a8cb8d94dd1e04 (commit) via 01f8d9fcc10100b16391cf797dc0647e7112c5a9 (commit) from 9b66e023ce3f320cb560ab6e2cc78a219e262c5e (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 89a75eb6a5a6dc345a718ffbd119651222686026 Author: Frank Ch. Eigler Date: Mon Nov 30 16:29:29 2009 -0500 uprobes ppc64: UPROBES_DEBUG build fix * runtime/uprobes/uprobes_ppc.c (calc_offset): Fix printk types. commit 98c783852039061db8c1611742660aaded0eab77 Author: Anton Vorontsov Date: Sat Nov 28 01:33:47 2009 +0300 Use proper types for do_div do_div accepts unsigned 64-bit integer type for dividend, signed types would cause do_div's typecheck fail: stat-common.c: In function 'needed_space': stat-common.c:50: error: comparison of distinct pointer types lacks a cast ...same errors in time.c and tapset-timers.cxx's generated code... A fix for time.c is special, on ppc32 cycles_t is 32-bit, so technically we don't need do_div, but since the whole _stp_gettimeofday_ns() operates on 64-bit types we'd better be safe and use uint64_t for the math. Signed-off-by: Anton Vorontsov commit 5f4fd35709b9b3e94873c6e38c574066c470a9e3 Author: Anton Vorontsov Date: Sat Nov 28 01:33:51 2009 +0300 Change KERNEL_RELOC_SYMBOL to "_stext" on ppc32 Currently staprun fails at send_relocation_kernel(), this is because ppc32 doesn't have ".__start" symbol. I think we should use _stext, just as other arches. Signed-off-by: Anton Vorontsov commit b7c4fdcf0991791bf13b144c72767ff6b98cff53 Author: Anton Vorontsov Date: Sat Nov 28 01:33:49 2009 +0300 Implement _div64 and _mod64 for ppc32 _div64 and _mod64 arch-specific details were taken from gcc/longlong.h, just as it was done for i386. Signed-off-by: Anton Vorontsov commit fb4653ea565018aa26a730db6b59ff64f2c6afa8 Author: Anton Vorontsov Date: Sat Nov 28 01:33:45 2009 +0300 Share ppc64 and ppc32 code where possible * runtime/copy.c: Can use ppc64's code. * runtime/regs.h: Ditto. * runtime/string.h: Ditto. * tapset/context.stp: Ditto. * tapset/errno.stp: Ditto. Signed-off-by: Anton Vorontsov commit 2069eacc8e19d784bb9e5eb532fcd61e5de1b606 Author: Anton Vorontsov Date: Sat Nov 28 01:33:44 2009 +0300 Implement ppc32 variant of __is_user_regs * tapset/nd_syscalls.stp: Implement ppc32 variant of __is_user_regs. * tapset/syscalls.stp: Ditto. Signed-off-by: Anton Vorontsov commit 51280c12d044b671b16ce59396658ac5a0f24650 Author: Anton Vorontsov Date: Sat Nov 28 01:33:42 2009 +0300 stack-ppc: Adjust for ppc32 Get rid of magic numbers, use appropriate defines from ptrace.h. From now on stack-ppc.c should be suitable for ppc32. Signed-off-by: Anton Vorontsov commit f5fd3c39dcec944feb8aa91808a8cb8d94dd1e04 Author: Anton Vorontsov Date: Sat Nov 28 01:33:39 2009 +0300 Rename stack-ppc64.c to stack-ppc.c There should be no functional changes in this patch. Signed-off-by: Anton Vorontsov commit 01f8d9fcc10100b16391cf797dc0647e7112c5a9 Author: Anton Vorontsov Date: Sat Nov 28 01:33:36 2009 +0300 Rename uprobes_ppc64.c to uprobes_ppc.c, use it for ppc32 The code *looks* generic enough, so I think it can be used for ppc32 without modifications. Signed-off-by: Anton Vorontsov ----------------------------------------------------------------------- Summary of changes: runtime/arith.c | 42 ++++++++++++++++++- runtime/copy.c | 2 +- runtime/regs.h | 2 +- runtime/{stack-ppc64.c => stack-ppc.c} | 4 +- runtime/stack.c | 4 +- runtime/staprun/staprun.c | 2 +- runtime/stat-common.c | 8 ++-- runtime/string.h | 6 +- runtime/time.c | 3 +- runtime/uprobes/uprobes_arch.c | 4 +- runtime/uprobes/uprobes_arch.h | 4 +- runtime/uprobes/{uprobes_ppc64.c => uprobes_ppc.c} | 4 +- runtime/uprobes/{uprobes_ppc64.h => uprobes_ppc.h} | 0 runtime/uprobes2/uprobes_arch.c | 4 +- runtime/uprobes2/uprobes_arch.h | 4 +- tapset-timers.cxx | 2 +- tapset/context.stp | 2 +- tapset/errno.stp | 2 +- tapset/nd_syscalls.stp | 3 + tapset/syscalls.stp | 3 + 20 files changed, 74 insertions(+), 31 deletions(-) rename runtime/{stack-ppc64.c => stack-ppc.c} (94%) rename runtime/uprobes/{uprobes_ppc64.c => uprobes_ppc.c} (96%) rename runtime/uprobes/{uprobes_ppc64.h => uprobes_ppc.h} (100%) hooks/post-receive -- systemtap: system-wide probe/trace tool