From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758003AbcCVHk5 (ORCPT ); Tue, 22 Mar 2016 03:40:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60535 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756477AbcCVHku (ORCPT ); Tue, 22 Mar 2016 03:40:50 -0400 From: Peter Xu To: linux-kernel@vger.kernel.org, srostedt@redhat.com Cc: peterx@redhat.com Subject: [PATCH trace-cmd 0/2] better error handling during copy Date: Tue, 22 Mar 2016 15:40:40 +0800 Message-Id: <1458632442-6878-1-git-send-email-peterx@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CCing lkml this time. Hope it's the right way... For patch 1, it only drops one printf(), which is optional. For patch 2, it tries to dump more information when we got errors, and also catches some silence ones. Peter Xu (2): trace-cmd-listen: remove useless printf trace-recorder: better error handling during copy trace-listen.c | 1 - trace-recorder.c | 34 ++++++++++++++++++++++++---------- 2 files changed, 24 insertions(+), 11 deletions(-) -- 2.4.3