xref: /spdk/lib/bdev/vtune.c (revision 877573897ad52be4fa8989f7617bd655b87e05c4)
1 /*   SPDX-License-Identifier: BSD-3-Clause
2  *   Copyright (C) 2017 Intel Corporation. All rights reserved.
3  *   All rights reserved.
4  */
5 
6 #include "spdk/config.h"
7 #if SPDK_CONFIG_VTUNE
8 
9 /* Disable warnings triggered by the VTune code */
10 #if defined(__GNUC__) && \
11 	__GNUC__ > 4 || \
12 	(__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
13 #pragma GCC diagnostic ignored "-Wsign-compare"
14 #if __GNUC__ >= 7
15 #pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
16 #endif
17 #endif
18 
19 #include "ittnotify_static.c"
20 
21 #endif
22