summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/nct6775.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-03-27 22:08:41 +0100
committerSteven Rostedt <rostedt@goodmis.org>2015-04-08 16:58:35 +0200
commit91df6089aa330f12f31cf4b710350a3d6e3d66e6 (patch)
tree739c899fddf1adc81fcd358927b247ddd455cf12 /drivers/hwmon/nct6775.c
parentv4l: Export enums used by tracepoints to user space (diff)
downloadlinux-91df6089aa330f12f31cf4b710350a3d6e3d66e6.tar.xz
linux-91df6089aa330f12f31cf4b710350a3d6e3d66e6.zip
writeback: Export enums used by tracepoint to user space
The enums used in tracepoints for __print_symbolic() do not have their values shown in the tracepoint format files and this makes it difficult for user space tools to convert the binary values to the strings they are to represent. Add TRACE_DEFINE_ENUM(x) macros to export the enum names to their values to make the tracing output from user space tools more robust. Link: http://lkml.kernel.org/r/20150403013802.220157513@goodmis.org Cc: Dave Chinner <dchinner@redhat.com> Cc: Jens Axboe <axboe@kernel.dk> Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Tested-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/hwmon/nct6775.c')
0 files changed, 0 insertions, 0 deletions