Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751998AbcDZNk0 (ORCPT ); Tue, 26 Apr 2016 09:40:26 -0400 Received: from mail.kernel.org ([198.145.29.136]:39216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751507AbcDZNk0 (ORCPT ); Tue, 26 Apr 2016 09:40:26 -0400 Date: Tue, 26 Apr 2016 10:40:20 -0300 From: Arnaldo Carvalho de Melo To: Masami Hiramatsu Cc: linux-kernel@vger.kernel.org, Namhyung Kim , Peter Zijlstra , Ingo Molnar , Hemant Kumar , Ananth N Mavinakayanahalli Subject: Re: [PATCH perf/core v4 04/19] perf: Add lsdir to read a directory Message-ID: <20160426134020.GB31483@kernel.org> References: <20160426090200.11891.43944.stgit@devbox> <20160426090242.11891.79014.stgit@devbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160426090242.11891.79014.stgit@devbox> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 473 Lines: 14 Em Tue, Apr 26, 2016 at 06:02:42PM +0900, Masami Hiramatsu escreveu: > From: Masami Hiramatsu > > As a utility function, add lsdir() which reads given > directory and store entry name into a strlist. > lsdir accepts a filter function so that user can > filter out unneeded entries. > > Signed-off-by: Masami Hiramatsu > Signed-off-by: Masami Hiramatsu Thanks, applied. - Arnaldo