Skip to content

Commit

Permalink
Add copyright and a LICENCE file.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisa committed Apr 26, 2012
1 parent 4f14044 commit 4e15b3b
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENCE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Copyright 2012 Chris Andrews. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.

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 CHRIS ANDREWS ``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 CHRIS ANDREWS 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.
4 changes: 4 additions & 0 deletions test_usdt.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2012, Chris Andrews. All rights reserved.
*/

#include "usdt.h"

#include <stdio.h>
Expand Down
4 changes: 4 additions & 0 deletions usdt.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2012, Chris Andrews. All rights reserved.
*/

#include "usdt_internal.h"

#include <stdlib.h>
Expand Down
4 changes: 4 additions & 0 deletions usdt.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2012, Chris Andrews. All rights reserved.
*/

#include <stdint.h>
#include <unistd.h>

Expand Down
4 changes: 4 additions & 0 deletions usdt_dof.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2012, Chris Andrews. All rights reserved.
*/

#include "usdt_internal.h"

#include <stdlib.h>
Expand Down
4 changes: 4 additions & 0 deletions usdt_dof_file.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2012, Chris Andrews. All rights reserved.
*/

#include "usdt_internal.h"

#include <stdio.h>
Expand Down
4 changes: 4 additions & 0 deletions usdt_dof_sections.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2012, Chris Andrews. All rights reserved.
*/

#include "usdt_internal.h"

int
Expand Down
4 changes: 4 additions & 0 deletions usdt_internal.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2012, Chris Andrews. All rights reserved.
*/

#include <sys/dtrace.h>
#include <sys/types.h>
#include <sys/mman.h>
Expand Down
4 changes: 4 additions & 0 deletions usdt_probe.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2012, Chris Andrews. All rights reserved.
*/

#include "usdt_internal.h"

#ifdef __APPLE__
Expand Down
4 changes: 4 additions & 0 deletions usdt_tracepoints_i386.s
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2012, Chris Andrews. All rights reserved.
*/

/*
* Stub functions containing DTrace tracepoints for probes and
* is-enabled probes. These functions are copied for each probe
Expand Down
4 changes: 4 additions & 0 deletions usdt_tracepoints_x86_64.s
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2012, Chris Andrews. All rights reserved.
*/

/*
* Stub functions containing DTrace tracepoints for probes and
* is-enabled probes. These functions are copied for each probe
Expand Down

0 comments on commit 4e15b3b

Please sign in to comment.