From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Helsley Subject: [PATCH 0/3] perf_events and hw_breakpoints fix and cleanup Date: Mon, 13 Sep 2010 13:01:17 -0700 Message-ID: <1284408080-2135-1-git-send-email-matthltc@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Frederic Weisbecker Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: containers.vger.kernel.org Fixes a bug in the way that hardward breakpoints pass around [v]pids. The last two patches move the pid resolution closer to the syscall and avoid passing pids entirely so that the perf event code does not need to worry about being in the wrong pid namespace when kernel counters are created. NOTE: Applies to -tip perf/core. Compile-tested only at the moment.