• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/ltp-testsuite/0003-disable-profil-on-uClibc.patch
Waldemar BrodkorbWaldemar Brodkorb committed 7f82fe9751d05 Mar 2016
Raw file
Source viewDiff to previous
 
1
uClibc-ng has no profil() support
2
​
3
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
4
​
5
diff -Nur ltp-full-20160126.orig/testcases/kernel/syscalls/profil/profil01.c ltp-full-20160126/testcases/kernel/syscalls/profil/profil01.c
6
--- ltp-full-20160126.orig/testcases/kernel/syscalls/profil/profil01.c  2016-01-26 13:35:25.000000000 +0100
7
+++ ltp-full-20160126/testcases/kernel/syscalls/profil/profil01.c   2016-03-05 01:00:07.328962536 +0100
8
@@ -37,6 +37,9 @@
9
 #define PROFIL_BUFLEN (32*1024)
10
 
11
 char *TCID = "profil01";
12
+
13
+#if !defined(__UCLIBC__)
14
+
15
 int TST_TOTAL = 1;
16
 
17
 static volatile sig_atomic_t profil_done;
18
@@ -124,3 +127,9 @@
19
 
20
    tst_exit();
21
 }
22
+#else /* systems that dont support profil */
23
+int main(void)
24
+{
25
+        tst_brkm(TCONF, NULL, "system doesn't have profil support");
26
+}
27
+#endif
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.