lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 14 Apr 2015 11:03:18 -0700
From:	Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
To:	Ingo Molnar <mingo@...nel.org>
Cc:	Michael Ellerman <mpe@...erman.id.au>, mingo@...hat.com,
	ak@...ux.intel.com, Jiri Olsa <jolsa@...hat.com>,
	Arnaldo Carvalho de Melo <acme@...nel.org>,
	peterz@...radead.org, namhyung@...nel.org,
	linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
	Pekka Enberg <penberg@....fi>,
	Arnaldo Carvalho de Melo <acme@...radead.org>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Thomas Gleixner <tglx@...utronix.de>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	tom.huynh@...escale.com
Subject: Re: 'perf upgrade' (was: Re: [PATCH v9 00/11] Add support for JSON
 event files.)

Ingo Molnar [mingo@...nel.org] wrote:

Meant to Cc Tom Huynh as they had a related patchset a few months
ago.

| 
| * Michael Ellerman <mpe@...erman.id.au> wrote:
| 
| > On Tue, 2015-04-14 at 10:55 +0200, Ingo Molnar wrote:
| > > * Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com> wrote:
| > > 
| > > > This is another attempt to resurrect Andi Kleen's patchset so users
| > > > can specify perf events by their event names rather than raw codes.
| > > > 
| > > > This is a rebase of Andi Kleen's patchset from Jul 30, 2014[1] to 4.0.
| > > > (I fixed minor and not so minor conflicts).
| > > 
| > > So this series shows some progress, but instead of this limited 
| > > checkout ability I'd still prefer it if 'perf download' downloaded 
| > > the latest perf code itself and built it - it shouldn't be limited 
| > > to just a small subset of the perf source code!
| > 
| > Ingo, can you please stop blocking this? It's getting ridiculous.
| > 
| > We've been waiting over 8 months for this to go in.
| 
| We just merged a patch series that was first sent in 2013. Some things 
| take time to get right.

I used to rebuild git years ago to work around bugs in rebase, but rarely
need to rebuild these days, because it is stable.  I am guessing it is the
same for most users of perf.

IOW, perf download/upgrade can be extended to fetch and build, but
dont' understand why that is _required_ to _use_ the JSON files.

- perf having an ability to parse JSON files
- perf downloading JSON files
- perf downloading latest source code
- perf downloading dependent RPMS/packages to build (which
  seem to be tied to distros)

all seem like independent steps to me. If current design can be
tweaked to not constrain future choices, we should definitely do
that.

If not, can we make incremental progress on this?

If necessary, we could add an option to 'perf upgrade' to fetch only
the JSON files?  Or by default, 'perf upgrade' can assume --all
and download everything it can download.

In the future we can add --json-files, --sources etc and still
ahve --all fetch everything it can.

Sukadev

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ