Skip to content

Commit

Permalink
Migrate to SPDX-FileCopyrightText notices
Browse files Browse the repository at this point in the history
Automated using the following snippet:

find . \
  \( -name '*.c' -o -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \
     -o -name '*.py' -o -name '*.sh' \) -print0 |
while IFS= read -r -d '' file; do
  sed -E -i \
    's/Copyright(\s*\(C\))?\s+([0-9]{4})\s+(.*)/SPDX-FileCopyrightText: \2 \3/g' \
    "$file"
done

Change-Id: I9a12cdc7fc8bed0c6436b5be62cc57f56ec4ed89
Signed-off-by: Jérémie Galarneau <[email protected]>
  • Loading branch information
jgalar committed Jan 28, 2025
1 parent 0262cb0 commit 668d259
Show file tree
Hide file tree
Showing 799 changed files with 1,034 additions and 1,034 deletions.
2 changes: 1 addition & 1 deletion .vscode/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (C) 2024 Jérémie Galarneau <[email protected]>
# SPDX-FileCopyrightText: 2024 Jérémie Galarneau <[email protected]>
#
# SPDX-License-Identifier: LGPL-2.1-only
#
Expand Down
2 changes: 1 addition & 1 deletion .vscode/libtool_gdb_wrapper.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# Copyright (C) 2024 Jérémie Galarneau <[email protected]>
# SPDX-FileCopyrightText: 2024 Jérémie Galarneau <[email protected]>
#
# SPDX-License-Identifier: LGPL-2.1-only
#
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/trigger-condition-event-matches/demo.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (C) 2020 Jérémie Galarneau <[email protected]>
# SPDX-FileCopyrightText: 2020 Jérémie Galarneau <[email protected]>
#
# SPDX-License-Identifier: MIT

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2020 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2020 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2020 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2020 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: MIT
*
Expand Down
2 changes: 1 addition & 1 deletion extras/bindings/swig/python/tests/example.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2012 Danny Serres <[email protected]>
# SPDX-FileCopyrightText: 2012 Danny Serres <[email protected]>
#
# SPDX-License-Identifier: GPL-2.0-only
#
Expand Down
2 changes: 1 addition & 1 deletion extras/bindings/swig/python/tests/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2012 Danny Serres <[email protected]>
# SPDX-FileCopyrightText: 2012 Danny Serres <[email protected]>
#
# SPDX-License-Identifier: GPL-2.0-only
#
Expand Down
2 changes: 1 addition & 1 deletion extras/bindings/swig/python/tests/tests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2012 Danny Serres <[email protected]>
# SPDX-FileCopyrightText: 2012 Danny Serres <[email protected]>
#
# SPDX-License-Identifier: GPL-2.0-only
#
Expand Down
2 changes: 1 addition & 1 deletion extras/core-handler/crash.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2013 Christian Babeux <[email protected]>
* SPDX-FileCopyrightText: 2013 Christian Babeux <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-only
*
Expand Down
2 changes: 1 addition & 1 deletion extras/core-handler/handler.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2013 Christian Babeux <[email protected]>
# SPDX-FileCopyrightText: 2013 Christian Babeux <[email protected]>
#
# SPDX-License-Identifier: GPL-2.0-only
#
Expand Down
2 changes: 1 addition & 1 deletion extras/core-handler/install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2013 Christian Babeux <[email protected]>
# SPDX-FileCopyrightText: 2013 Christian Babeux <[email protected]>
#
# SPDX-License-Identifier: GPL-2.0-only
#
Expand Down
2 changes: 1 addition & 1 deletion extras/core-handler/test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2013 Christian Babeux <[email protected]>
# SPDX-FileCopyrightText: 2013 Christian Babeux <[email protected]>
#
# SPDX-License-Identifier: GPL-2.0-only
#
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/action-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/action.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/list-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Simon Marchi <[email protected]>
* SPDX-FileCopyrightText: 2019 Simon Marchi <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/list.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Simon Marchi <[email protected]>
* SPDX-FileCopyrightText: 2019 Simon Marchi <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/notify-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/notify.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/path-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2021 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/path.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2021 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/rate-policy-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 Jonathan Rajotte <[email protected]>
* SPDX-FileCopyrightText: 2021 Jonathan Rajotte <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/rate-policy.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 Jonathan Rajotte <[email protected]>
* SPDX-FileCopyrightText: 2021 Jonathan Rajotte <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/rotate-session-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Simon Marchi <[email protected]>
* SPDX-FileCopyrightText: 2019 Simon Marchi <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/rotate-session.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Simon Marchi <[email protected]>
* SPDX-FileCopyrightText: 2019 Simon Marchi <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/snapshot-session-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Simon Marchi <[email protected]>
* SPDX-FileCopyrightText: 2019 Simon Marchi <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/snapshot-session.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Simon Marchi <[email protected]>
* SPDX-FileCopyrightText: 2019 Simon Marchi <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/start-session-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Simon Marchi <[email protected]>
* SPDX-FileCopyrightText: 2019 Simon Marchi <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/start-session.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Simon Marchi <[email protected]>
* SPDX-FileCopyrightText: 2019 Simon Marchi <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/stop-session-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Simon Marchi <[email protected]>
* SPDX-FileCopyrightText: 2019 Simon Marchi <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/action/stop-session.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Simon Marchi <[email protected]>
* SPDX-FileCopyrightText: 2019 Simon Marchi <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/channel-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2015 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2015 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/channel.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2014 David Goulet <[email protected]>
* SPDX-FileCopyrightText: 2014 David Goulet <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
4 changes: 2 additions & 2 deletions include/lttng/clear-handle.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2019 Jérémie Galarneau <[email protected]>
* Copyright (C) 2019 Mathieu Desnoyers <[email protected]>
* SPDX-FileCopyrightText: 2019 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2019 Mathieu Desnoyers <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
4 changes: 2 additions & 2 deletions include/lttng/clear.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2019 Jérémie Galarneau <[email protected]>
* Copyright (C) 2019 Mathieu Desnoyers <[email protected]>
* SPDX-FileCopyrightText: 2019 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2019 Mathieu Desnoyers <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/buffer-usage-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/buffer-usage.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/condition-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/condition.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/evaluation-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/evaluation.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/event-rule-matches-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Jonathan Rajotte <[email protected]>
* SPDX-FileCopyrightText: 2019 Jonathan Rajotte <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/event-rule-matches.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Jonathan Rajotte <[email protected]>
* SPDX-FileCopyrightText: 2019 Jonathan Rajotte <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/session-consumed-size-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/session-consumed-size.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/session-rotation-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/condition/session-rotation.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/constant.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2014 David Goulet <[email protected]>
* SPDX-FileCopyrightText: 2014 David Goulet <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/destruction-handle.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2019 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/domain-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020 Simon Marchi <[email protected]>
* SPDX-FileCopyrightText: 2020 Simon Marchi <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/domain.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2014 David Goulet <[email protected]>
* SPDX-FileCopyrightText: 2014 David Goulet <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/endpoint-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/endpoint.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2017 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
2 changes: 1 addition & 1 deletion include/lttng/error-query-internal.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* error-query-internal.h
*
* Copyright (C) 2021 Jérémie Galarneau <[email protected]>
* SPDX-FileCopyrightText: 2021 Jérémie Galarneau <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
Expand Down
Loading

0 comments on commit 668d259

Please sign in to comment.