Re: [PATCH 4/8] perf daemon: Add daemon command

2020-12-18 Thread Jiri Olsa
On Fri, Dec 18, 2020 at 10:25:06PM +0900, Namhyung Kim wrote: SNIP > > > > so the current way is, that following creates daemon: > > > > # perf daemon --config > > > > and any other 'non --config' option' is used to 'query/control' daemon: > > > > # perf daemon > > # perf daemon --signal >

Re: [PATCH 4/8] perf daemon: Add daemon command

2020-12-18 Thread Namhyung Kim
Hi Jiri, On Wed, Dec 16, 2020 at 4:44 AM Jiri Olsa wrote: > > On Tue, Dec 15, 2020 at 06:40:26PM +0300, Alexei Budankov wrote: > > Hi, > > > > On 12.12.2020 13:43, Jiri Olsa wrote: > > > Adding daemon command that allows to run record sessions > > > on background. Each session represents one perf

Re: [PATCH 4/8] perf daemon: Add daemon command

2020-12-16 Thread Jiri Olsa
On Wed, Dec 16, 2020 at 10:54:43AM +0300, Alexei Budankov wrote: > > On 15.12.2020 22:43, Jiri Olsa wrote: > > On Tue, Dec 15, 2020 at 06:40:26PM +0300, Alexei Budankov wrote: > >> Hi, > >> > >> On 12.12.2020 13:43, Jiri Olsa wrote: > >>> Adding daemon command that allows to run record sessions >

Re: [PATCH 4/8] perf daemon: Add daemon command

2020-12-15 Thread Alexei Budankov
On 15.12.2020 22:43, Jiri Olsa wrote: > On Tue, Dec 15, 2020 at 06:40:26PM +0300, Alexei Budankov wrote: >> Hi, >> >> On 12.12.2020 13:43, Jiri Olsa wrote: >>> Adding daemon command that allows to run record sessions >>> on background. Each session represents one perf record >>> process and is co

Re: [PATCH 4/8] perf daemon: Add daemon command

2020-12-15 Thread Jiri Olsa
On Tue, Dec 15, 2020 at 06:40:26PM +0300, Alexei Budankov wrote: > Hi, > > On 12.12.2020 13:43, Jiri Olsa wrote: > > Adding daemon command that allows to run record sessions > > on background. Each session represents one perf record > > process and is configured in config file. > > > > Example: >

Re: [PATCH 4/8] perf daemon: Add daemon command

2020-12-15 Thread Jiri Olsa
On Tue, Dec 15, 2020 at 12:44:08PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sat, Dec 12, 2020 at 11:43:54AM +0100, Jiri Olsa escreveu: > > Adding daemon command that allows to run record sessions > > on background. Each session represents one perf record > > process and is configured in config f

Re: [PATCH 4/8] perf daemon: Add daemon command

2020-12-15 Thread Arnaldo Carvalho de Melo
Em Sat, Dec 12, 2020 at 11:43:54AM +0100, Jiri Olsa escreveu: > Adding daemon command that allows to run record sessions > on background. Each session represents one perf record > process and is configured in config file. > > Example: > > # cat config.daemon > [daemon] > base=/opt/perfdata

Re: [PATCH 4/8] perf daemon: Add daemon command

2020-12-15 Thread Alexei Budankov
Hi, On 12.12.2020 13:43, Jiri Olsa wrote: > Adding daemon command that allows to run record sessions > on background. Each session represents one perf record > process and is configured in config file. > > Example: > > # cat config.daemon > [daemon] > base=/opt/perfdata It could probably

[PATCH 4/8] perf daemon: Add daemon command

2020-12-12 Thread Jiri Olsa
Adding daemon command that allows to run record sessions on background. Each session represents one perf record process and is configured in config file. Example: # cat config.daemon [daemon] base=/opt/perfdata [session-1] run = -m 10M -e cycles -o /opt/perfdata/1/perf.data --overwrite