Ingo Molnar wrote:
indeed it was broken - i fixed x64 LATENCY_TRACE in the -47-16 kernel.
There's a minor bug in it. Syscalls are numbered from zero, so there's
__NR_syscall_max + 1 of them. Patch attached.
Nonetheless the latency tracing still doesn't work for me on x86_64. It
compiles but hotplug starts to segfault in an infinite loop during
booting up. When I disable CONFIG_LATENCY_TRACE, it works.
Michal
--- linux-RT.mich/kernel/latency.c.orig 2005-06-02 14:16:12.000000000 +0200
+++ linux-RT.mich/kernel/latency.c 2005-06-02 14:15:37.000000000 +0200
@@ -850,7 +850,7 @@ static int notrace l_show_cmdline(struct
}
#ifdef CONFIG_X86_64
-# define NR_syscalls __NR_syscall_max
+# define NR_syscalls (__NR_syscall_max+1)
#endif
extern unsigned long sys_call_table[NR_syscalls];
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]