Re: [patch 2/3] x86, bts: provide in-kernel branch-trace interface

From: Ingo Molnar
Date: Fri Dec 12 2008 - 02:11:35 EST



> --- gits.orig/include/linux/sched.h 2008-12-11 10:45:10.000000000 +0100
> +++ gits/include/linux/sched.h 2008-12-11 11:20:54.000000000 +0100
> @@ -1187,6 +1187,7 @@
> * The buffer to hold the BTS data.
> */
> void *bts_buffer;
> + size_t bts_size;
> #endif /* CONFIG_X86_PTRACE_BTS */

btw., this was whitespace damaged, i fixed that.

question: how does ->bts_buffer and ->bts_size behave across
fork()/clone() ? I dont see it explicitly cleared in fork.c.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/