From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032027AbdDTN7V (ORCPT ); Thu, 20 Apr 2017 09:59:21 -0400 Received: from mail.kernel.org ([198.145.29.136]:57390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031906AbdDTN7T (ORCPT ); Thu, 20 Apr 2017 09:59:19 -0400 Message-Id: <20170420135810.170538604@goodmis.org> User-Agent: quilt/0.63-1 Date: Thu, 20 Apr 2017 09:58:10 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Linus Torvalds , Ingo Molnar , Andrew Morton Subject: [PATCH 0/2] [GIT PULL] tracing: Two more small fixes Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus, While continuing my development, I uncovered two more small bugs. One is a race condition when enabling the snapshot function probe trigger. It enables the probe before allocating the snapshot, and if the probe triggers first, it stops tracing with a warning that the snapshot buffer was not allocated. The seconds is that the snapshot file should show how to use it when it is empty. But a bug fix from long ago broke the "is empty" test and the snapshot file no longer displays the help message. Please pull the latest trace-v4.11-rc5-5 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git trace-v4.11-rc5-5 Tag SHA1: 561b3641a9deebe33accebee8dfc1a70df7b7ac5 Head SHA1: 78f7a45dac2a2d2002f98a3a95f7979867868d73 Steven Rostedt (VMware) (2): tracing: Allocate the snapshot buffer before enabling probe ring-buffer: Have ring_buffer_iter_empty() return true when empty ---- kernel/trace/ring_buffer.c | 16 ++++++++++++++-- kernel/trace/trace.c | 8 +++++--- 2 files changed, 19 insertions(+), 5 deletions(-)