Messages in this thread | | | Date | Fri, 29 Jun 2012 09:32:53 +0800 | From | Feng Tang <> | Subject | Re: [PATCH] perf, x86: Enabled PEBS event to be exported in a raw format |
| |
On Thu, 28 Jun 2012 22:51:37 +0200 Peter Zijlstra <peterz@infradead.org> wrote:
> On Thu, 2012-06-28 at 11:20 -0700, Andi Kleen wrote: > > > Not without a useful userspace part. > > > > http://permalink.gmane.org/gmane.linux.kernel/1319962 > > > > > Preferably not a script. > > > > You don't need to prefer it. > > +# will be very time consuming (about 10+ minutes for 10000 samples) if the > > Muhahaha... I'll wait for something useful.
Yeah, that number scared me too when I first saw it, as the time will make the script totally useless. Then after migrating to the RAM based database file, the database handling time could be cut down to 1 second.
I guess the sqlite itself realize the shortcoming too, it also provide a native way to use in-memory database by specifying ":memory": con = sqlite3.connect(":memory:")
Thanks, Feng
| |