Creating release candidate final for 3.5.1

llvm-svn: 225671

--
SVN tag also included these previous commits:

Author: Tom Stellard <thomas.stellard@amd.com>
Date: Fri Dec 19 22:30:03 2014 +0000

    Creating release candidate rc2 from release_351 branch
    
    llvm-svn: 224632
Merging r218054:
------------------------------------------------------------------------
r218054 | kongyi | 2014-09-18 16:50:47 +0100 (Thu, 18 Sep 2014) | 9 lines

Make the use of Perf optional

Do not try to automatically detect and use perf on Linux, thus giving
user more control of which tool to use.

Also this fixes the mistake that Perf wasn't used when not using
user mode emulation.


------------------------------------------------------------------------

llvm-svn: 224573
2 files changed