Enabling Stack trace in proc fs

Need to enable stack trace as part of procfs
Need the below file path enabled
/proc//stack

Any pointers ?

Found this could be enabled by configuring with kernel config with option

CONFIG_STACKTRACE_SUPPORT=y
CONFIG_STACKTRACE=y