lkml.org 
[lkml]   [2017]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 11/40] tracing: Increase tracing map KEYS_MAX size
    Date
    The current default for the number of subkeys in a compound key is 2,
    which is too restrictive. Increase it to a more realistic value of 3.

    Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
    ---
    kernel/trace/tracing_map.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/kernel/trace/tracing_map.h b/kernel/trace/tracing_map.h
    index 4eabbcb..98ef6d6 100644
    --- a/kernel/trace/tracing_map.h
    +++ b/kernel/trace/tracing_map.h
    @@ -5,7 +5,7 @@
    #define TRACING_MAP_BITS_MAX 17
    #define TRACING_MAP_BITS_MIN 7

    -#define TRACING_MAP_KEYS_MAX 2
    +#define TRACING_MAP_KEYS_MAX 3
    #define TRACING_MAP_VALS_MAX 3
    #define TRACING_MAP_FIELDS_MAX (TRACING_MAP_KEYS_MAX + \
    TRACING_MAP_VALS_MAX)
    --
    1.9.3
    \
     
     \ /
      Last update: 2017-09-06 00:08    [W:4.167 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site