[OMPT] Correct an incorrect OMPT ifdef

An ifdef for OMPT_TRACE needs to be OMPT_BLAME so that both instances of a
callback are controlled by the same ifdef.

Patch by John Mellor-Crummey

Differential Revision: http://reviews.llvm.org/D12911

llvm-svn: 248001
This commit is contained in:
Jonathan Peyton 2015-09-18 16:24:46 +00:00
parent e7229f4921
commit cab67cc3ff
1 changed files with 1 additions and 1 deletions

View File

@ -1514,7 +1514,7 @@ __kmp_join_barrier(int gtid)
#if OMPT_SUPPORT
if (ompt_status & ompt_status_track) {
#if OMPT_TRACE
#if OMPT_BLAME
if ((ompt_status == ompt_status_track_callback) &&
ompt_callbacks.ompt_callback(ompt_event_barrier_end)) {
ompt_callbacks.ompt_callback(ompt_event_barrier_end)(