Re: [PATCH v2 7/7] perf script python: add printdate function to SQL exporters

2019-03-08 Thread Adrian Hunter
On 6/03/19 11:13 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 01, 2019 at 05:19:03PM -0800, Tony Jones escreveu: >> Introduce a printdate function to eliminate the repetitive use of >> datetime.datetime.today() in the SQL exporting scripts. > > Seems easy enough, but since Adrian provided

Re: [PATCH v2 7/7] perf script python: add printdate function to SQL exporters

2019-03-06 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 01, 2019 at 05:19:03PM -0800, Tony Jones escreveu: > Introduce a printdate function to eliminate the repetitive use of > datetime.datetime.today() in the SQL exporting scripts. Seems easy enough, but since Adrian provided the Acked-by to the other patch, can this be done this time

[PATCH v2 7/7] perf script python: add printdate function to SQL exporters

2019-03-01 Thread Tony Jones
Introduce a printdate function to eliminate the repetitive use of datetime.datetime.today() in the SQL exporting scripts. Signed-off-by: Tony Jones Cc: Adrian Hunter --- tools/perf/scripts/python/export-to-postgresql.py | 19 +++ tools/perf/scripts/python/export-to-sqlite.py