Re: [PATCH 5/5] kernel: tracepoints: add support for relative references

2017-08-18 Thread Ard Biesheuvel
On 18 August 2017 at 18:58, Ingo Molnar wrote: > > * Ard Biesheuvel wrote: > >> On 18 August 2017 at 09:36, Ard Biesheuvel wrote: >> > On 18 August 2017 at 09:26, Ingo Molnar wrote: >> >> >> >> * Ard Biesheuvel wrote: >> >> >> >>> -static void for_each_tracepoint_range(struct tracepoint * cons

Re: [PATCH 5/5] kernel: tracepoints: add support for relative references

2017-08-18 Thread Ingo Molnar
* Ard Biesheuvel wrote: > On 18 August 2017 at 09:36, Ard Biesheuvel wrote: > > On 18 August 2017 at 09:26, Ingo Molnar wrote: > >> > >> * Ard Biesheuvel wrote: > >> > >>> -static void for_each_tracepoint_range(struct tracepoint * const *begin, > >>> - struct tracepoint * const *e

Re: [PATCH 5/5] kernel: tracepoints: add support for relative references

2017-08-18 Thread Ard Biesheuvel
On 18 August 2017 at 09:36, Ard Biesheuvel wrote: > On 18 August 2017 at 09:26, Ingo Molnar wrote: >> >> * Ard Biesheuvel wrote: >> >>> -static void for_each_tracepoint_range(struct tracepoint * const *begin, >>> - struct tracepoint * const *end, >>> +static void for_each_tracepoint_

Re: [PATCH 5/5] kernel: tracepoints: add support for relative references

2017-08-18 Thread Ard Biesheuvel
On 18 August 2017 at 09:26, Ingo Molnar wrote: > > * Ard Biesheuvel wrote: > >> -static void for_each_tracepoint_range(struct tracepoint * const *begin, >> - struct tracepoint * const *end, >> +static void for_each_tracepoint_range(const void *begin, const void *end, >>

Re: [PATCH 5/5] kernel: tracepoints: add support for relative references

2017-08-18 Thread Ingo Molnar
* Ard Biesheuvel wrote: > -static void for_each_tracepoint_range(struct tracepoint * const *begin, > - struct tracepoint * const *end, > +static void for_each_tracepoint_range(const void *begin, const void *end, > void (*fct)(struct tracepoint *tp, void *priv), >

Re: [PATCH 5/5] kernel: tracepoints: add support for relative references

2017-08-14 Thread Ard Biesheuvel
On 14 August 2017 at 16:23, Steven Rostedt wrote: > On Mon, 14 Aug 2017 11:52:31 +0100 > Ard Biesheuvel wrote: > >> To avoid the need for relocating absolute references to tracepoint >> structures at boot time when running relocatable kernels (which may >> take a disproportionate amount of space)

Re: [PATCH 5/5] kernel: tracepoints: add support for relative references

2017-08-14 Thread Steven Rostedt
On Mon, 14 Aug 2017 11:52:31 +0100 Ard Biesheuvel wrote: > To avoid the need for relocating absolute references to tracepoint > structures at boot time when running relocatable kernels (which may > take a disproportionate amount of space), add the option to emit > these tables as relative referen