Skip to contentSkip to conversation

revert: 0de961e74f96 ("libtracefs: Set visibility of parser symbols as 'internal'")

PATCH In review Steven Rostedt 2 participants 2 messages Jul 11, 2022 – Jul 12, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 revert: 0de961e74f96 ("libtracefs: Set visibility of parser symbols as 'internal'")

From: "Steven Rostedt (Google)" <[email protected]>

With the addition of commit b64dc07ca44c ("libtracefs: Unbreak parallel build"), the build works fine without using "internal" variables. We can revert that commit.

---

[ Daniel, can you test to make sure this is true. Thanks ]

 include/tracefs-local.h |  1 -
 src/tracefs-sqlhist.c   | 43 ++++++++++++++++++++---------------------
 2 files changed, 21 insertions(+), 23 deletions(-)
include/tracefs-local.h +0 -1
index 1652a27ebeb8..678b9870d03e 100644
@@ -7,7 +7,6 @@
 #define _TRACE_FS_LOCAL_H
 
 #define __hidden __attribute__((visibility ("hidden")))
-#define __internal __attribute__((visibility ("internal")))
 #define __weak __attribute__((weak))
 
 #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))
src/tracefs-sqlhist.c +21 -22

133 lines not on this page · raw message

Signature · 1 line
2.35.1
Tested-by on v1 1/1
#1 lore raw
Quoted 10 lines · Steven Rostedt

From: "Steven Rostedt (Google)" <[email protected]>

With the addition of commit b64dc07ca44c ("libtracefs: Unbreak parallel build"), the build works fine without using "internal" variables. We can revert that commit.

---

[ Daniel, can you test to make sure this is true. Thanks ]

I've tested all possible combinations of master -/+ 0de961e74f96 ("libtracefs: Set visibility of parser symbols as 'internal'") and -/+ b64dc07ca44c ("libtracefs: Unbreak parallel build"). My patch doesn't do a thing and Jan's patch fixes the problem.