Thread (7 messages) flat view 7 messages, 3 authors, 2024-10-10

Re: [PATCH 2/2] tools/rtla: fix collision with glibc sched_attr/sched_set_attr

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2024-10-10 14:55:33
Also in: lkml

On Thu, 10 Oct 2024 14:25:11 +0200
Tomas Glozar [off-list ref] wrote:
quoted
--- a/tools/tracing/rtla/src/utils.c
+++ b/tools/tracing/rtla/src/utils.c
@@ -229,7 +229,7 @@ long parse_ns_duration(char *val)

 #define SCHED_DEADLINE         6

-static inline int sched_setattr(pid_t pid, const struct sched_attr *attr,
+static inline int rtla_sched_setattr(pid_t pid, const struct sched_attr *attr,  
Hmm, rtla_sched_attr sounds to me like the function does something
specific to rtla. Maybe syscall_sched_attr would be a better name?
Should I be waiting for a v2 with this addressed?

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help