summaryrefslogtreecommitdiffstats
path: root/sound/i2c/cs8427.c
diff options
context:
space:
mode:
authorYoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com>2014-06-05 10:24:27 +0900
committerSteven Rostedt <rostedt@goodmis.org>2014-06-05 12:35:49 -0400
commit939c7a4f04fcd2162109744e8bf88194948a6e65 (patch)
tree1429af89b0e9fbff114e23170a5786a7e179cfd7 /sound/i2c/cs8427.c
parentbeba4bb096201ceec0e8cfb7ce3172a53015bdaf (diff)
downloadop-kernel-dev-939c7a4f04fcd2162109744e8bf88194948a6e65.zip
op-kernel-dev-939c7a4f04fcd2162109744e8bf88194948a6e65.tar.gz
tracing: Introduce saved_cmdlines_size file
Introduce saved_cmdlines_size file for changing the number of saved pid-comms. saved_cmdlines currently stores 128 command names using SAVED_CMDLINES, but 'no-existing processes' names are often lost in saved_cmdlines when we read the trace data. So, by introducing saved_cmdlines_size file, we can now change the 128 command names saved to something much larger if needed. When we write a value to saved_cmdlines_size, the number of the value will be stored in pid-comm list: # echo 1024 > /sys/kernel/debug/tracing/saved_cmdlines_size Here, 1024 command names can be stored. The default number is 128 and the maximum number is PID_MAX_DEFAULT (=32768 if CONFIG_BASE_SMALL is not set). So, if we want to avoid losing any command names, we need to set 32768 to saved_cmdlines_size. We can read the maximum number of the list: # cat /sys/kernel/debug/tracing/saved_cmdlines_size 128 Link: http://lkml.kernel.org/p/20140605012427.22115.16173.stgit@yunodevel Signed-off-by: Yoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'sound/i2c/cs8427.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud