[lkml]   [2011]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 08/12] perf: Carve out mmap helpers for general use
Em Mon, Jan 24, 2011 at 10:04:10AM +0100, Borislav Petkov escreveu:
> Ok, I see at least one problem with my patch - you've reworked the
> mmaping functionality in evlist.c/evsel.c and I should use it too, I
> guess. For that, I think you'd want me to apply my stuff ontop of your
> perf/core branch, right?

Right, I hope to have that branch merged by Ingo soon.

> Am I missing something else?

Nope, you're not. Doing that we erode your patchset a bit, reducing its

One related experience I'm doing now is to have a python
binding, the file for it with the list of files needed for this
specific binding is at:

A simple tool using the resulting binding is a thread
fork/comm/exit/sample watcher, available at:

In this process I'm moving functions around so as to reduce the number
of tools/perf/util.c files to link into this python binding,
untangling things as much as possible.

The binding proper is:

I'm digressing, but twatch is an example of a simple "daemon" consuming
perf events where performance is not much of a problem.

And provides a prototyping ground when starting to design perf events
consuming daemons :-)

- Arnaldo

 \ /
  Last update: 2011-01-24 13:43    [W:0.061 / U:3.508 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site