Skip to content

Commit a392be5

Browse files
committed
Ignore trap perf and dethread
1 parent 3944b28 commit a392be5

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

libc-test/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,9 @@ fn test_solarish(target: &str) {
957957
// skip sighandler_t assignments
958958
"SIG_DFL" | "SIG_ERR" | "SIG_IGN" => true,
959959

960+
// Skip
961+
"SI_DETHREAD" | "TRAP_PERF" => true,
962+
960963
"DT_UNKNOWN" => true,
961964

962965
"_UTX_LINESIZE" | "_UTX_USERSIZE" | "_UTX_PADSIZE" | "_UTX_IDSIZE" | "_UTX_HOSTSIZE" => {

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3373,6 +3373,7 @@ TP_STATUS_WRONG_FORMAT
33733373
TRAP_BRANCH
33743374
TRAP_BRKPT
33753375
TRAP_HWBKPT
3376+
TRAP_PERF
33763377
TRAP_TRACE
33773378
TRAP_UNK
33783379
TUNATTACHFILTER

src/unix/linux_like/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1314,6 +1314,7 @@ pub const TRAP_TRACE: c_int = 2;
13141314
pub const TRAP_BRANCH: c_int = 3;
13151315
pub const TRAP_HWBKPT: c_int = 4;
13161316
pub const TRAP_UNK: c_int = 5;
1317+
pub const TRAP_PERF: c_int = 6;
13171318

13181319
// si_code values for SIGCHLD signal
13191320
pub const CLD_EXITED: c_int = 1;

0 commit comments

Comments
 (0)