xref: /netbsd-src/external/gpl3/binutils/dist/gprofng/common/cc_libcollector.h (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
1*cb63e24eSchristos /* Copyright (C) 2021-2024 Free Software Foundation, Inc.
24f645668Schristos    Contributed by Oracle.
34f645668Schristos 
44f645668Schristos    This file is part of GNU Binutils.
54f645668Schristos 
64f645668Schristos    This program is free software; you can redistribute it and/or modify
74f645668Schristos    it under the terms of the GNU General Public License as published by
84f645668Schristos    the Free Software Foundation; either version 3, or (at your option)
94f645668Schristos    any later version.
104f645668Schristos 
114f645668Schristos    This program is distributed in the hope that it will be useful,
124f645668Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
134f645668Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
144f645668Schristos    GNU General Public License for more details.
154f645668Schristos 
164f645668Schristos    You should have received a copy of the GNU General Public License
174f645668Schristos    along with this program; if not, write to the Free Software
184f645668Schristos    Foundation, 51 Franklin Street - Fifth Floor, Boston,
194f645668Schristos    MA 02110-1301, USA.  */
204f645668Schristos 
214f645668Schristos /*
224f645668Schristos  *  This file describes the enum's, etc. shared by the collector control
234f645668Schristos  *	class and libcollector and its modules.  It is #included in collctrl.h
244f645668Schristos  *	so any changes to it should follow the procedure described there.
254f645668Schristos  */
264f645668Schristos 
274f645668Schristos #ifndef _CC_LIBCOLLECTOR_H
284f645668Schristos #define _CC_LIBCOLLECTOR_H
294f645668Schristos 
304f645668Schristos /* definitions for synchronization tracing scope -- a bit mask */
314f645668Schristos #define SYNCSCOPE_NATIVE    0x1
324f645668Schristos #define SYNCSCOPE_JAVA      0x2
334f645668Schristos 
344f645668Schristos typedef enum
354f645668Schristos {
364f645668Schristos   FOLLOW_NONE  = 0x0,
374f645668Schristos   FOLLOW_EXEC  = 0x1,
384f645668Schristos   FOLLOW_FORK  = 0x2,
394f645668Schristos   FOLLOW_ON    = 0x3,
404f645668Schristos   FOLLOW_COMBO = 0x4,
414f645668Schristos   FOLLOW_ALL   = 0x7
424f645668Schristos } Follow_type;
434f645668Schristos 
444f645668Schristos #endif /* !__CC_LIBCOLLECTOR_H */
45