From: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
To: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Robert Richter <rric@kernel.org>,
Bhaktipriya Shridhar <bhaktipriya96@gmail.com>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Tejun Heo <tj@kernel.org>,
oprofile-list@lists.sf.net, linux-s390@vger.kernel.org,
linux-kernel@vger.kernel.org,
Hendrik Brueckner <brueckner@linux.vnet.ibm.com>,
Andreas Krebbel <krebbel@linux.vnet.ibm.com>,
Andreas Arnez <arnez@linux.vnet.ibm.com>,
William Cohen <wcohen@redhat.com>
Subject: Re: [PATCH] s390/oprofile: Remove deprecated create_workqueue
Date: Fri, 17 Jun 2016 11:08:21 +0200 [thread overview]
Message-ID: <20160617090821.GB5273@linux.vnet.ibm.com> (raw)
In-Reply-To: <20160614155609.GG3754@osiris>
On Tue, Jun 14, 2016 at 05:56:09PM +0200, Heiko Carstens wrote:
> On Tue, Jun 14, 2016 at 03:28:23PM +0200, Robert Richter wrote:
> > >
> > > Documentation/kernel-parameters.txt | 2 -
> > > arch/s390/oprofile/Makefile | 1 -
> > > arch/s390/oprofile/hwsampler.c | 1178 --------------------------------
> > > arch/s390/oprofile/hwsampler.h | 63 --
> > > arch/s390/oprofile/init.c | 489 -------------
> > > arch/s390/oprofile/op_counter.h | 21 -
> > > 6 files changed, 1754 deletions(-)
> >
> > Could you send the patch for review anyway?
>
> Yes, of course. I added it below, hope that's ok.
> [I did not yet add your Ack]
>
> From 74ab0aefe07573358cc6a0c462ddc62ccba4c0cf Mon Sep 17 00:00:00 2001
> From: Heiko Carstens <heiko.carstens@de.ibm.com>
> Date: Fri, 10 Jun 2016 10:40:06 +0200
> Subject: [PATCH] s390/oprofile: remove hardware sampler support
>
> Remove hardware sampler support from oprofile module.
>
> The oprofile user space utilty has been switched to use the kernel
> perf interface, for which we also provide hardware sampling support.
>
> In addition the hardware sampling support is also slightly broken: it
> supports only 16 bits for the pid and therefore would generate wrong
> results on machines which have a pid >64k.
>
> Also the pt_regs structure which was passed to oprofile common code
> cannot necessarily be used to generate sane backtraces, since the
> task(s) in question may run while the samples are fed to oprofile.
> So the result would be more or less random.
>
> However given that the only user space tools switched to the perf
> interface already four years ago the hardware sampler code seems to be
> unused code, and therefore it should be reasonable to remove it.
>
> The timer based oprofile support continues to work.
>
> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
> ---
> Documentation/kernel-parameters.txt | 2 -
> arch/s390/oprofile/Makefile | 1 -
> arch/s390/oprofile/hwsampler.c | 1178 -----------------------------------
> arch/s390/oprofile/hwsampler.h | 63 --
> arch/s390/oprofile/init.c | 489 ---------------
> arch/s390/oprofile/op_counter.h | 21 -
> 6 files changed, 1754 deletions(-)
> delete mode 100644 arch/s390/oprofile/hwsampler.c
> delete mode 100644 arch/s390/oprofile/hwsampler.h
> delete mode 100644 arch/s390/oprofile/op_counter.h
>
Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
prev parent reply other threads:[~2016-06-17 9:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-07 21:59 [PATCH] s390/oprofile: Remove deprecated create_workqueue Bhaktipriya Shridhar
2016-06-07 23:29 ` kbuild test robot
2016-06-09 9:00 ` Heiko Carstens
2016-06-13 16:29 ` Robert Richter
2016-06-13 20:44 ` William Cohen
2016-06-14 5:36 ` Heiko Carstens
2016-06-14 13:28 ` Robert Richter
2016-06-14 15:56 ` Heiko Carstens
2016-06-17 9:08 ` Hendrik Brueckner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160617090821.GB5273@linux.vnet.ibm.com \
--to=brueckner@linux.vnet.ibm.com \
--cc=arnez@linux.vnet.ibm.com \
--cc=bhaktipriya96@gmail.com \
--cc=heiko.carstens@de.ibm.com \
--cc=krebbel@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=oprofile-list@lists.sf.net \
--cc=rric@kernel.org \
--cc=schwidefsky@de.ibm.com \
--cc=tj@kernel.org \
--cc=wcohen@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).