Implement support for providing information to Linux's perf JIT interface.
authorRobin Burchell <robin.burchell@viroteck.net>
Tue, 28 Jul 2015 12:41:31 +0000 (12:41 +0000)
committerRobin Burchell <robin.burchell@viroteck.net>
Fri, 21 Aug 2015 14:39:30 +0000 (14:39 +0000)
commit45ea8df187d5dbe2776d793752d1eb3bf34b8fb3
tree8a1f51f2e4c620b888b0a895d92b1452c761473d
parent6328dd2d2743ed540efea89742261f24552d7611
Implement support for providing information to Linux's perf JIT interface.

For more information on what this is, see:
 https://github.com/torvalds/linux/blob/master/tools/perf/Documentation/jit-interface.txt

[ChangeLog][QtQml][Profiling] QtQml can now write additional information so that
perf is able to give function names of JavaScript methods when profiling. To
enable this, set the environment variable QV4_PROFILE_WRITE_PERF_MAP=1 when
running the process in question.

Change-Id: I187c9b0792f40d93c89a986c0edb3c4487095cb7
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
src/qml/jit/qv4isel_masm.cpp