Peter Zijlstra dab5855b12 perf_counter: Add mmap event hooks to mprotect()
Some JIT compilers allocate memory for generated code with
posix_memalign() + mprotect() so we need to hook into mprotect()
to make sure 'perf' is aware that we're executing code in
anonymous memory.

[ penberg@cs.helsinki.fi: move the hook to sys_mprotect() ]
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <Pine.LNX.4.64.0906082111030.12407@melkki.cs.Helsinki.FI>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-06-08 23:10:43 +02:00
..
2009-04-01 08:59:13 -07:00
2009-04-01 08:59:14 -07:00
2009-04-01 08:59:13 -07:00
2009-05-02 15:36:09 -07:00
2007-10-20 01:27:18 +02:00
2008-07-28 16:30:21 -07:00
2008-06-12 18:05:41 -07:00
2007-10-20 01:27:18 +02:00
2009-05-21 13:14:32 -07:00
2009-05-02 15:36:09 -07:00
2009-05-06 10:23:17 +03:00
2009-04-13 15:04:32 -07:00
2009-05-06 16:36:10 -07:00