From patchwork Thu May 5 15:17:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kara X-Patchwork-Id: 9025281 Return-Path: X-Original-To: patchwork-linux-block@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DFAC6BF29F for ; Thu, 5 May 2016 15:17:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 040B720384 for ; Thu, 5 May 2016 15:17:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 237892038F for ; Thu, 5 May 2016 15:17:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756682AbcEEPRW (ORCPT ); Thu, 5 May 2016 11:17:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:33849 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757430AbcEEPRV (ORCPT ); Thu, 5 May 2016 11:17:21 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id EBE5FADB8; Thu, 5 May 2016 15:17:18 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 8655D1E09F7; Thu, 5 May 2016 17:17:16 +0200 (CEST) From: Jan Kara To: Jens Axboe Cc: linux-block@vger.kernel.org, Jan Kara Subject: [PATCH 8/9] Separate prefix in legend with space Date: Thu, 5 May 2016 17:17:11 +0200 Message-Id: <1462461432-1900-9-git-send-email-jack@suse.cz> X-Mailer: git-send-email 2.6.6 In-Reply-To: <1462461432-1900-1-git-send-email-jack@suse.cz> References: <1462461432-1900-1-git-send-email-jack@suse.cz> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Trace label isn't properly separated with space from suffix (Read / Write). Fix it. Signed-off-by: Jan Kara --- iowatcher/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iowatcher/main.c b/iowatcher/main.c index 2d0349c083b7..3eb8d3c0d2e1 100644 --- a/iowatcher/main.c +++ b/iowatcher/main.c @@ -815,12 +815,12 @@ static void plot_tput(struct plot *plot, unsigned int min_seconds, if (tf->tput_writes_gld->max > 0) { svg_line_graph(plot, tf->tput_writes_gld, tf->writes_color, 0, 0); if (with_legend) - svg_add_legend(plot, tf->label, "Writes", tf->writes_color); + svg_add_legend(plot, tf->label, " Writes", tf->writes_color); } if (tf->tput_reads_gld->max > 0) { svg_line_graph(plot, tf->tput_reads_gld, tf->reads_color, 0, 0); if (with_legend) - svg_add_legend(plot, tf->label, "Reads", tf->reads_color); + svg_add_legend(plot, tf->label, " Reads", tf->reads_color); } }