From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Olsa Subject: Re: [PATCHv2 1/3] perf report: Display s390 diagnostic counter sets Date: Mon, 21 Jan 2019 14:13:36 +0100 Message-ID: <20190121131336.GC3852@krava> References: <20190117093003.96287-1-tmricht@linux.ibm.com> <20190117093003.96287-2-tmricht@linux.ibm.com> <20190117140053.GJ11922@kernel.org> <20190120181814.GB8591@krava> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190120181814.GB8591@krava> Sender: linux-kernel-owner@vger.kernel.org To: Arnaldo Carvalho de Melo Cc: Thomas Richter , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, brueckner@linux.vnet.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com List-Id: linux-perf-users.vger.kernel.org On Sun, Jan 20, 2019 at 07:18:14PM +0100, Jiri Olsa wrote: > On Thu, Jan 17, 2019 at 11:00:53AM -0300, Arnaldo Carvalho de Melo wrote: > > SNIP > > > --- a/tools/perf/util/python-ext-sources > > +++ b/tools/perf/util/python-ext-sources > > @@ -25,6 +25,7 @@ util/parse-branch-options.c > > util/rblist.c > > util/counts.c > > util/print_binary.c > > +util/s390-sample-raw.c > > util/strlist.c > > util/trace-event.c > > ../lib/rbtree.c > > hi, > this change breaks the python module: > > >>> import perf > Traceback (most recent call last): > File "", line 1, in > ImportError: ./perf.so: undefined symbol: color_fprintf > > changelog doesn't say anything about python related change I made some chenages and movedthat raw sample code under s390.. which cured the python module, but I haven't tested it on s390. Could you please check if code in here works for you: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/s390 if it works, I'll post it thanks, jirka