cpukit/libmisc/capture: Manually change license to BSD-2

These files did not follow the standard format and needed to be
changed manually.

Updates #3053.
This commit is contained in:
Joel Sherrill
2022-03-18 10:18:07 -05:00
parent 1dc5ba2a45
commit 4b7fbc7c44
7 changed files with 216 additions and 116 deletions

View File

@@ -1,7 +1,7 @@
RTEMS Performance Monitoring and Measurement Framework RTEMS Performance Monitoring and Measurement Framework
Copyright 2002-2007 Chris Johns (chrisj@rtems.org) Copyright 2002-2007 Chris Johns (chrisj@rtems.org)
23 April 2002 23 April 2002
This directory contains the source code for the performance monitoring and This directory contains the source code for the performance monitoring and
measurement framework. It is more commonly know as the capture engine. measurement framework. It is more commonly know as the capture engine.

View File

@@ -1,25 +1,42 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/**
* @file
*
* @brief RTEMS Performance Monitoring and Measurement Framework.
*
* This is the Target Interface Command Line Interface. You need
* start the RTEMS monitor.
*/
/* /*
------------------------------------------------------------------------ * Copyright 2002, 2015 Chris Johns <chrisj@rtems.org>.
* All rights reserved.
Copyright 2002, 2015 Chris Johns <chrisj@rtems.org> *
All rights reserved. * COPYRIGHT (c) 2014.
* On-Line Applications Research Corporation (OAR).
COPYRIGHT (c) 2014. *
On-Line Applications Research Corporation (OAR). * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
The license and distribution terms for this file may be * are met:
found in the file LICENSE in this distribution. * 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
This software with is provided ``as is'' and with NO WARRANTY. * 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
------------------------------------------------------------------------ * documentation and/or other materials provided with the distribution.
*
RTEMS Performance Monitoring and Measurement Framework. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
This is the Target Interface Command Line Interface. You need * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
start the RTEMS monitor. * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
*/ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"

View File

@@ -1,24 +1,41 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/**
* @file
*
* @brief RTEMS Performance Monitoring and Measurement Framework.
*
* This is the Capture Engine component.
*/
/* /*
------------------------------------------------------------------------ * Copyright 2002, 2016 Chris Johns <chrisj@rtems.org>.
* All rights reserved.
Copyright 2002, 2016 Chris Johns <chrisj@rtems.org>. *
All rights reserved. * COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
COPYRIGHT (c) 1989-2014. *
On-Line Applications Research Corporation (OAR). * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
The license and distribution terms for this file may be * are met:
found in the file LICENSE in this distribution. * 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
This software with is provided ``as is'' and with NO WARRANTY. * 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
------------------------------------------------------------------------ * documentation and/or other materials provided with the distribution.
*
RTEMS Performance Monitoring and Measurement Framework. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
This is the Capture Engine component. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
*/ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"

View File

@@ -1,22 +1,38 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/**
* @file
*
* @brief RTEMS Performance Monitoring and Measurement Framework.
*
* This is the Target Interface Command Line Interface. You need
* to start the RTEMS monitor.
*/
/* /*
------------------------------------------------------------------------ * COPYRIGHT (c) 2014. On-Line Applications Research Corporation (OAR).
*
COPYRIGHT (c) 2014. * Redistribution and use in source and binary forms, with or without
On-Line Applications Research Corporation (OAR). * modification, are permitted provided that the following conditions
* are met:
The license and distribution terms for this file may be * 1. Redistributions of source code must retain the above copyright
found in the file LICENSE in this distribution. * notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
This software with is provided ``as is'' and with NO WARRANTY. * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
------------------------------------------------------------------------ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
RTEMS Performance Monitoring and Measurement Framework. * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
This is the Target Interface Command Line Interface. You need * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
start the RTEMS monitor. * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
*/ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"

View File

@@ -1,27 +1,42 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/** /**
* @file * @file
* *
* @brief Capture buffer * @brief Capture buffer
* *
* This is a set of functions to control a variable length capture record buffer. * This is a set of functions to control a variable length capture
* record buffer.
*/ */
/* /*
------------------------------------------------------------------------ * COPYRIGHT (c) 2014.
* On-Line Applications Research Corporation (OAR).
COPYRIGHT (c) 2014. *
On-Line Applications Research Corporation (OAR). * Copyright 2016 Chris Johns <chrisj@rtems.org>.
* All rights reserved.
Copyright 2016 Chris Johns <chrisj@rtems.org>. *
All rights reserved. * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
The license and distribution terms for this file may be * are met:
found in the file LICENSE in this distribution. * 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
This software with is provided ``as is'' and with NO WARRANTY. * 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
------------------------------------------------------------------------ * documentation and/or other materials provided with the distribution.
*/ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __CAPTURE_BUFFER_H_ #ifndef __CAPTURE_BUFFER_H_
#define __CAPTURE_BUFFER_H_ #define __CAPTURE_BUFFER_H_

View File

@@ -1,25 +1,42 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/**
* @file
*
* @brief RTEMS Performance Monitoring and Measurement Framework.
*
* This is a set of print support routines that may be shared between
* the RTEMS monitor and direct callers of the capture engine.
*/
/* /*
------------------------------------------------------------------------ * Copyright 2002, 2015 Chris Johns <chrisj@rtems.org>
* All rights reserved.
Copyright 2002, 2015 Chris Johns <chrisj@rtems.org> *
All rights reserved. * COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
COPYRIGHT (c) 1989-2014. *
On-Line Applications Research Corporation (OAR). * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
The license and distribution terms for this file may be * are met:
found in the file LICENSE in this distribution. * 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
This software with is provided ``as is'' and with NO WARRANTY. * 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
------------------------------------------------------------------------ * documentation and/or other materials provided with the distribution.
*
RTEMS Performance Monitoring and Measurement Framework. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
This is a set of print support routines that may be shared between * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
the RTEMS monitor and direct callers of the capture engine. * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
*/ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"

View File

@@ -1,22 +1,40 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/**
* @file
*
* @brief RTEMS Performance Monitoring and Measurement Framework.
*
* This is the Capture Engine component.
*/
/* /*
------------------------------------------------------------------------ * Copyright 2002, 2016 Chris Johns <chrisj@rtems.org>. All rights reserved.
*
Copyright 2002, 2016 Chris Johns <chrisj@rtems.org>. All rights reserved. * COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
COPYRIGHT (c) 1989-2014. *
On-Line Applications Research Corporation (OAR). * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
The license and distribution terms for this file may be * are met:
found in the file LICENSE in this distribution. * 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
This software with is provided ``as is'' and with NO WARRANTY. * 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
------------------------------------------------------------------------ * documentation and/or other materials provided with the distribution.
*
RTEMS Performance Monitoring and Measurement Framework. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
This is the Capture Engine component. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
*/ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"