Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1534287

Re: [PATCH v3 1/5] tracing: add __print_flags_u64()

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 1/5] tracing: add __print_flags_u64()
Date 2016-12-01 18:00 +0100
Message-ID <sJCSe-6Dp-19@gated-at.bofh.it> (permalink)
References <sJCyR-6te-3@gated-at.bofh.it> <sJCyS-6te-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu,  1 Dec 2016 09:37:47 -0700
Ross Zwisler <ross.zwisler@linux.intel.com> wrote:

> Add __print_flags_u64() and the helper trace_print_flags_seq_u64() in the
> same spirit as __print_symbolic_u64() and trace_print_symbols_seq_u64().
> These functions allow us to print symbols associated with flags that are 64
> bits wide even on 32 bit machines.
> 
> These will be used by the DAX code so that we can print the flags set in a
> pfn_t such as PFN_SG_CHAIN, PFN_SG_LAST, PFN_DEV and PFN_MAP.
> 
> Without this new function I was getting errors like the following when
> compiling for i386:
> 
> ./include/linux/pfn_t.h:13:22: warning: large integer implicitly truncated
> to unsigned type [-Woverflow]
>  #define PFN_SG_CHAIN (1ULL << (BITS_PER_LONG_LONG - 1))
>   ^
> 
> Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>

Reviewed-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/5] introduce DAX tracepoint support Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-12-01 17:40 +0100
  [PATCH v3 3/5] dax: update MAINTAINERS entries for FS DAX Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-12-01 17:40 +0100
  [PATCH v3 1/5] tracing: add __print_flags_u64() Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-12-01 17:40 +0100
    Re: [PATCH v3 1/5] tracing: add __print_flags_u64() Steven Rostedt <rostedt@goodmis.org> - 2016-12-01 18:00 +0100
  [PATCH v3 4/5] dax: add tracepoints to dax_pmd_load_hole() Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-12-01 17:40 +0100
    Re: [PATCH v3 4/5] dax: add tracepoints to dax_pmd_load_hole() Steven Rostedt <rostedt@goodmis.org> - 2016-12-01 18:00 +0100
  [PATCH v3 5/5] dax: add tracepoints to dax_pmd_insert_mapping() Ross Zwisler <ross.zwisler@linux.intel.com> - 2016-12-01 17:40 +0100
    Re: [PATCH v3 5/5] dax: add tracepoints to dax_pmd_insert_mapping() Steven Rostedt <rostedt@goodmis.org> - 2016-12-01 18:00 +0100

csiph-web