From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1585 invoked by alias); 13 Nov 2009 23:53:40 -0000 Received: (qmail 1578 invoked by uid 22791); 13 Nov 2009 23:53:39 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Nov 2009 23:53:36 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nADNrYK4025030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 13 Nov 2009 18:53:34 -0500 Received: from gateway.sf.frob.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nADNrXXf004073; Fri, 13 Nov 2009 18:53:34 -0500 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 41C52357B; Fri, 13 Nov 2009 15:53:33 -0800 (PST) Received: by magilla.sf.frob.com (Postfix, from userid 5281) id 0E3CC15E8; Fri, 13 Nov 2009 15:53:33 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Masami Hiramatsu X-Fcc: ~/Mail/linus Cc: Ingo Molnar , lkml , systemtap , DLE Subject: Re: [PATCH -tip 3/3] Add get_signal tracepoint In-Reply-To: Masami Hiramatsu's message of Friday, 13 November 2009 17:52:40 -0500 <20091113225240.15079.4863.stgit@harusame> References: <20091113225226.15079.90813.stgit@harusame> <20091113225240.15079.4863.stgit@harusame> Message-Id: <20091113235333.0E3CC15E8@magilla.sf.frob.com> Date: Fri, 13 Nov 2009 23:53:00 -0000 X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00519.txt.bz2 This is orthogonal to the core-dump tracepoint, I don't see why you call them a unified patch series. The proper name for this event is "signal delivery". But since the proper name for "send_signal" is "signal generation", I suppose "get" is analogously improper to the existing "send" tracepoint. ;-) Especially if you call this "get" rather than "deliver", there is another place that should invoke this tracepoint (or perhaps a third one). sys_rt_sigtimedwait "gets" a signal without delivering it. In POSIX terminology this is called "accepting" the signal: the three things that can happen in the life of a signal are "generate", "deliver", and "accept". If you are trying to match up what happened to a signal generated by kill() or whatnot, then you want to notice both delivery and acceptance as the complementary event. (And again I have no clue why this signal stuff should be called "sched" at all.) Thanks, Roland