cregit-Linux how code gets into the kernel

Release 4.14 tools/perf/util/util-cxx.h

Directory: tools/perf/util
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Support C++ source use utilities defined in util.h
 */

#ifndef PERF_UTIL_UTIL_CXX_H

#define PERF_UTIL_UTIL_CXX_H

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Now 'new' is the only C++ keyword found in util.h:
 * in tools/include/linux/rbtree.h
 *
 * Other keywords, like class and delete, should be
 * redefined if necessary.
 */

#define new _new
#include "util.h"

#undef new

#ifdef __cplusplus
}
#endif
#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Wang Nan3497.14%150.00%
Greg Kroah-Hartman12.86%150.00%
Total35100.00%2100.00%
Directory: tools/perf/util
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.