Skip to content

Commit c8ba2fe

Browse files
committed
Update license
Signed-off-by: quic_wya <[email protected]>
1 parent 1f05e14 commit c8ba2fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1438
-184
lines changed

CMakeLists.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
#// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
#// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
# Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2+
#
3+
# This program is free software; you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License version 2 and
5+
# only version 2 as published by the Free Software Foundation.
6+
#
7+
# This program is distributed in the hope that it will be useful,
8+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10+
# GNU General Public License for more details.
11+
#
12+
# SPDX-License-Identifier: GPL-2.0-only
313

414
cmake_minimum_required(VERSION 3.21.1)
515
project(plugins)

LICENSE.txt

Lines changed: 333 additions & 7 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
```
2-
Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3-
SPDX-License-Identifier: BSD-3-Clause-Clear
4-
```
5-
61
# Overall
72
We've developed plugins based on crash-utility that can collect more information, covering both kernel space and user space. This improves our debugging efficiency.
83

@@ -147,8 +142,20 @@ binder_proc:0xffffff801a432c00 ndroid.contacts [4346] binder dead:0 frozen:0 sr:
147142
# How to develop
148143
1. Add the header file: demo.h
149144
```
150-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
151-
// SPDX-License-Identifier: BSD-3-Clause-Clear
145+
/**
146+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
147+
*
148+
* This program is free software; you can redistribute it and/or modify
149+
* it under the terms of the GNU General Public License version 2 and
150+
* only version 2 as published by the Free Software Foundation.
151+
*
152+
* This program is distributed in the hope that it will be useful,
153+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
154+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
155+
* GNU General Public License for more details.
156+
*
157+
* SPDX-License-Identifier: GPL-2.0-only
158+
*/
152159
153160
#ifndef DEMO_DEFS_H_
154161
#define DEMO_DEFS_H_
@@ -167,8 +174,20 @@ public:
167174
```
168175
2. Add the Demo.cpp file
169176
```
170-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
171-
// SPDX-License-Identifier: BSD-3-Clause-Clear
177+
/**
178+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
179+
*
180+
* This program is free software; you can redistribute it and/or modify
181+
* it under the terms of the GNU General Public License version 2 and
182+
* only version 2 as published by the Free Software Foundation.
183+
*
184+
* This program is distributed in the hope that it will be useful,
185+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
186+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
187+
* GNU General Public License for more details.
188+
*
189+
* SPDX-License-Identifier: GPL-2.0-only
190+
*/
172191
173192
#include "demo.h"
174193

binder/binder.cpp

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#include "binder.h"
517

binder/binder.h

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#ifndef BINDER_DEFS_H_
517
#define BINDER_DEFS_H_

build.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
#// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
#// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
# Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2+
#
3+
# This program is free software; you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License version 2 and
5+
# only version 2 as published by the Free Software Foundation.
6+
#
7+
# This program is distributed in the hope that it will be useful,
8+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10+
# GNU General Public License for more details.
11+
#
12+
# SPDX-License-Identifier: GPL-2.0-only
313

414
cmake -DCMAKE_C_COMPILER="/usr/bin/gcc" \
515
-DCMAKE_CXX_COMPILER="/usr/bin/g++" \

coredump/arm/arm.cpp

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#include "arm.h"
517

coredump/arm/arm.h

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#ifndef ARM_DEFS_H_
517
#define ARM_DEFS_H_

coredump/arm/arm64.cpp

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#include "arm64.h"
517

coredump/arm/arm64.h

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#ifndef ARM64_DEFS_H_
517
#define ARM64_DEFS_H_

coredump/arm/compat.cpp

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#include "compat.h"
517

coredump/arm/compat.h

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#ifndef COMPAT_DEFS_H_
517
#define COMPAT_DEFS_H_

coredump/core.cpp

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#include "core.h"
517

coredump/core.h

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
15+
316
#ifndef CORE_DEFS_H_
417
#define CORE_DEFS_H_
518

coredump/coredump.cpp

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#include "coredump.h"
517

coredump/coredump.h

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
15+
316
#ifndef COREDUMP_DEFS_H_
417
#define COREDUMP_DEFS_H_
518

cpu/cpuinfo.cpp

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#include "cpuinfo.h"
517

cpu/cpuinfo.h

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
/**
2+
* Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 and
6+
* only version 2 as published by the Free Software Foundation.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* SPDX-License-Identifier: GPL-2.0-only
14+
*/
315

416
#ifndef CPU_INFO_DEFS_H_
517
#define CPU_INFO_DEFS_H_

debug/cmd.gdb

100644100755
Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
// Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2-
// SPDX-License-Identifier: BSD-3-Clause-Clear
1+
//Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
2+
3+
//This program is free software; you can redistribute it and/or modify
4+
//it under the terms of the GNU General Public License version 2 and
5+
//only version 2 as published by the Free Software Foundation.
6+
7+
//This program is distributed in the hope that it will be useful,
8+
//but WITHOUT ANY WARRANTY; without even the implied warranty of
9+
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10+
//GNU General Public License for more details.
11+
12+
//SPDX-License-Identifier: GPL-2.0-only
313

414
set sysroot /usr
515
set solib-search-path

0 commit comments

Comments
 (0)