Re: [RFC] perf-cache command interface design

2014-11-18 Thread Masami Hiramatsu
(2014/11/18 13:51), Namhyung Kim wrote: > On Tue, 18 Nov 2014 07:09:02 +0900, Masami Hiramatsu wrote: >> (2014/11/17 12:17), Masami Hiramatsu wrote: >>> (2014/11/17 12:08), Namhyung Kim wrote: I prefer this too. But I'd like make the 'add' part a subcommand rather than option like we do

Re: Re: [RFC] perf-cache command interface design

2014-11-18 Thread Masami Hiramatsu
(2014/11/18 13:41), Namhyung Kim wrote: > Hi Masami, > > On Mon, 17 Nov 2014 12:17:31 +0900, Masami Hiramatsu wrote: >> (2014/11/17 12:08), Namhyung Kim wrote: >>> I prefer this too. But I'd like make the 'add' part a subcommand rather >>> than option like we do in perf kmem/kvm/list/lock/mem/sch

Re: [RFC] perf-cache command interface design

2014-11-17 Thread Namhyung Kim
On Tue, 18 Nov 2014 07:09:02 +0900, Masami Hiramatsu wrote: > (2014/11/17 12:17), Masami Hiramatsu wrote: >> (2014/11/17 12:08), Namhyung Kim wrote: >>> I prefer this too. But I'd like make the 'add' part a subcommand rather >>> than option like we do in perf kmem/kvm/list/lock/mem/sched ... And

Re: [RFC] perf-cache command interface design

2014-11-17 Thread Namhyung Kim
Hi Arnaldo, On Mon, 17 Nov 2014 16:58:57 -0200, Arnaldo Carvalho de Melo wrote: > Em Mon, Nov 17, 2014 at 12:08:59PM +0900, Namhyung Kim escreveu: >> I prefer this too. But I'd like make the 'add' part a subcommand rather >> than option like we do in perf kmem/kvm/list/lock/mem/sched ... And it

Re: [RFC] perf-cache command interface design

2014-11-17 Thread Namhyung Kim
Hi Masami, On Mon, 17 Nov 2014 12:17:31 +0900, Masami Hiramatsu wrote: > (2014/11/17 12:08), Namhyung Kim wrote: >> I prefer this too. But I'd like make the 'add' part a subcommand rather >> than option like we do in perf kmem/kvm/list/lock/mem/sched ... And it >> can handle multiple files at on

Re: Re: Re: [RFC] perf-cache command interface design

2014-11-17 Thread Masami Hiramatsu
(2014/11/17 12:17), Masami Hiramatsu wrote: > (2014/11/17 12:08), Namhyung Kim wrote: >> Hi Masami, >> >> On Thu, 13 Nov 2014 00:25:57 +0900, Masami Hiramatsu wrote: >>> (2014/11/11 22:10), Arnaldo Carvalho de Melo wrote: What I meant was, what is wrong with replacing: perf cache --

Re: [RFC] perf-cache command interface design

2014-11-17 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 17, 2014 at 12:08:59PM +0900, Namhyung Kim escreveu: > On Thu, 13 Nov 2014 00:25:57 +0900, Masami Hiramatsu wrote: > > (2014/11/11 22:10), Arnaldo Carvalho de Melo wrote: > >> What I meant was, what is wrong with replacing: > >> perf cache --probe # for the current kernel > >> With

Re: Re: [RFC] perf-cache command interface design

2014-11-16 Thread Masami Hiramatsu
(2014/11/17 12:08), Namhyung Kim wrote: > Hi Masami, > > On Thu, 13 Nov 2014 00:25:57 +0900, Masami Hiramatsu wrote: >> (2014/11/11 22:10), Arnaldo Carvalho de Melo wrote: >>> What I meant was, what is wrong with replacing: >>> >>> perf cache --probe # for the current kernel >>> >>> With: >>> >

Re: [RFC] perf-cache command interface design

2014-11-16 Thread Namhyung Kim
Hi Masami, On Thu, 13 Nov 2014 00:25:57 +0900, Masami Hiramatsu wrote: > (2014/11/11 22:10), Arnaldo Carvalho de Melo wrote: >> What I meant was, what is wrong with replacing: >> >> perf cache --probe # for the current kernel >> >> With: >> >> perf cache --add # for the current kernel >>

Re: [RFC] perf-cache command interface design

2014-11-12 Thread Masami Hiramatsu
(2014/11/11 22:10), Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 11, 2014 at 03:53:42PM +0900, Masami Hiramatsu escreveu: >> (2014/11/10 21:23), Arnaldo Carvalho de Melo wrote: >>> Em Mon, Nov 10, 2014 at 07:59:24PM +0900, Masami Hiramatsu escreveu: Here is the second try for the probe-cache.

Re: [RFC] perf-cache command interface design

2014-11-11 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 11, 2014 at 03:53:42PM +0900, Masami Hiramatsu escreveu: > (2014/11/10 21:23), Arnaldo Carvalho de Melo wrote: > > Em Mon, Nov 10, 2014 at 07:59:24PM +0900, Masami Hiramatsu escreveu: > >> Here is the second try for the probe-cache. This version simplifies > >> the synopsis, and unifies

Re: [RFC] perf-cache command interface design

2014-11-10 Thread Masami Hiramatsu
(2014/11/10 21:23), Arnaldo Carvalho de Melo wrote: > Em Mon, Nov 10, 2014 at 07:59:24PM +0900, Masami Hiramatsu escreveu: >> Hello, >> >> Here is the second try for the probe-cache. This version simplifies >> the synopsis, and unifies the SDT and probe caches. >> Please give me your comments/ideas

Re: [RFC] perf-cache command interface design

2014-11-10 Thread Hagen Paul Pfeifer
On 10 November 2014 13:50, Peter Zijlstra wrote: > # env | grep XDG | wc -l > 0 > > Which renders it useless crap in my book. > > I agree on the .debug name being somewhat generic, also, it would be: > man 8 file-hierarchy, but that too fails: > > $ man file-hierarchy > No manual entry for file-h

Re: [RFC] perf-cache command interface design

2014-11-10 Thread Peter Zijlstra
On Mon, Nov 10, 2014 at 01:05:45PM +0100, Hagen Paul Pfeifer wrote: > On 7 November 2014 09:21, Masami Hiramatsu > wrote: > > > File Format > > === > > All the cache files are placed under ~/.debug/ by default. > > The paths of buildid cache of binary/symbols are not changed. > > > > The

Re: [RFC] perf-cache command interface design

2014-11-10 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 10, 2014 at 01:05:45PM +0100, Hagen Paul Pfeifer escreveu: > On 7 November 2014 09:21, Masami Hiramatsu > wrote: > > > File Format > > === > > All the cache files are placed under ~/.debug/ by default. > > The paths of buildid cache of binary/symbols are not changed. > > > > T

Re: [RFC] perf-cache command interface design

2014-11-10 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 10, 2014 at 07:59:24PM +0900, Masami Hiramatsu escreveu: > Hello, > > Here is the second try for the probe-cache. This version simplifies > the synopsis, and unifies the SDT and probe caches. > Please give me your comments/ideas! > > Command-line Synopsis > = > >

Re: [RFC] perf-cache command interface design

2014-11-10 Thread Hagen Paul Pfeifer
On 7 November 2014 09:21, Masami Hiramatsu wrote: > File Format > === > All the cache files are placed under ~/.debug/ by default. > The paths of buildid cache of binary/symbols are not changed. > > The SDT/probe caches are placed under the > ~/.debug/.probes/path/to/bin/bu/ildid > and t

Re: [RFC] perf-cache command interface design

2014-11-10 Thread Masami Hiramatsu
Hello, Here is the second try for the probe-cache. This version simplifies the synopsis, and unifies the SDT and probe caches. Please give me your comments/ideas! Command-line Synopsis = Add elf(or symbols) and probe-caches of SDT if exists in perf cache --add [--probe ] #

Re: [RFC] perf-cache command interface design

2014-11-07 Thread Masami Hiramatsu
(2014/11/07 23:43), Namhyung Kim wrote: > Hi Masami, > > 2014-11-07 (금), 17:21 +0900, Masami Hiramatsu: >> Hello, >> >> Here, I've tried to describe my idea of perf-cache subcommand interface. >> It is just a design review, not implemented yet :) >> Please give me your comments/ideas! >> >> Comman

Re: [RFC] perf-cache command interface design

2014-11-07 Thread Masami Hiramatsu
(2014/11/07 23:38), Arnaldo Carvalho de Melo wrote: > Em Fri, Nov 07, 2014 at 05:21:08PM +0900, Masami Hiramatsu escreveu: >> Hello, >> >> Here, I've tried to describe my idea of perf-cache subcommand interface. >> It is just a design review, not implemented yet :) >> Please give me your comments/i

Re: [RFC] perf-cache command interface design

2014-11-07 Thread Masami Hiramatsu
(2014/11/07 19:51), Hemant Kumar wrote: >> >> File Format >> === >> All the cache files are placed under ~/.debug/ by default. >> The paths of buildid cache of binary/symbols are not changed. >> >> The SDT/probe caches are placed under the >> ~/.debug/.probes/path/to/bin/bu/ildid >> and th

Re: [RFC] perf-cache command interface design

2014-11-07 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 07, 2014 at 08:16:09AM -0700, David Ahern escreveu: > On 11/7/14, 1:42 AM, Peter Zijlstra wrote: > >On Fri, Nov 07, 2014 at 05:21:08PM +0900, Masami Hiramatsu wrote: > >>The paths of buildid cache of binary/symbols are not changed. > > > >Could we get an option in .perfconfig to disable

Re: [RFC] perf-cache command interface design

2014-11-07 Thread David Ahern
On 11/7/14, 1:42 AM, Peter Zijlstra wrote: On Fri, Nov 07, 2014 at 05:21:08PM +0900, Masami Hiramatsu wrote: The paths of buildid cache of binary/symbols are not changed. Could we get an option in .perfconfig to disable the buildid cache? Its pointless diskspace wastage for some of us. I was

Re: [RFC] perf-cache command interface design

2014-11-07 Thread Namhyung Kim
Hi Masami, 2014-11-07 (금), 17:21 +0900, Masami Hiramatsu: > Hello, > > Here, I've tried to describe my idea of perf-cache subcommand interface. > It is just a design review, not implemented yet :) > Please give me your comments/ideas! > > Command-line Synopsis > = > > Curren

Re: [RFC] perf-cache command interface design

2014-11-07 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 07, 2014 at 05:21:08PM +0900, Masami Hiramatsu escreveu: > Hello, > > Here, I've tried to describe my idea of perf-cache subcommand interface. > It is just a design review, not implemented yet :) > Please give me your comments/ideas! > > Command-line Synopsis > = >

Re: [RFC] perf-cache command interface design

2014-11-07 Thread Hemant Kumar
On 11/07/2014 01:51 PM, Masami Hiramatsu wrote: > Hello, > > Here, I've tried to describe my idea of perf-cache subcommand interface. > It is just a design review, not implemented yet :) > Please give me your comments/ideas! Thanks, I have some comments below. > Command-line Synopsis > =

Re: [RFC] perf-cache command interface design

2014-11-07 Thread Peter Zijlstra
On Fri, Nov 07, 2014 at 05:21:08PM +0900, Masami Hiramatsu wrote: > The paths of buildid cache of binary/symbols are not changed. Could we get an option in .perfconfig to disable the buildid cache? Its pointless diskspace wastage for some of us. -- To unsubscribe from this list: send the line "uns