[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191024101818.GA5671@hirez.programming.kicks-ass.net>
Date: Thu, 24 Oct 2019 12:18:18 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org, mhiramat@...nel.org,
bristot@...hat.com, jbaron@...mai.com,
torvalds@...ux-foundation.org, tglx@...utronix.de,
mingo@...nel.org, namit@...are.com, hpa@...or.com, luto@...nel.org,
ard.biesheuvel@...aro.org, jpoimboe@...hat.com, jeyu@...nel.org
Subject: Re: [PATCH v4 15/16] module: Move where we mark modules RO,X
On Thu, Oct 24, 2019 at 12:16:09PM +0200, Peter Zijlstra wrote:
> +struct trace_event_fields {
> + const char *type;
> + union {
> + struct {
> + const char *name;
> + const int size;
> + const int align;
> + const int is_signed;
> + const int filter_type;
FWIW, I suspect we can do:
unsigned char size;
unsigned char align;
unsigned char is_signed;
unsigned char filter_type;
And save us some 8 bytes per entry (12 on 32bit).
> + };
> + int (*define_fields)(struct trace_event_call *);
> + };
> +};
Powered by blists - more mailing lists