mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
Update bootconf scripts for tracing_on option
The tracing_on option is supported by bootconfig entries, but the scripts to convert from ftrace to a bootconfig and back were not updated. -----BEGIN PGP SIGNATURE----- iIoEABYIADIWIQRRSw7ePDh/lE+zeZMp5XQQmuv6qgUCYAEA4RQccm9zdGVkdEBn b29kbWlzLm9yZwAKCRAp5XQQmuv6ql1IAQDRIhEtOER8pCWC/MgRtX9sXgmHPtyr OmGCbhlNNRohRQD+KKhtTORIUwqSQqItyuT/YWp7nEh25lLUC3a1LBD4Ugw= =YZ7S -----END PGP SIGNATURE----- Merge tag 'trace-v5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace Pull bootconfig fix from Steven Rostedt: "Update bootconf scripts for tracing_on option The tracing_on option is supported by bootconfig entries, but the scripts to convert from ftrace to a bootconfig and back were not updated" * tag 'trace-v5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: tools/bootconfig: Add tracing_on support to helper scripts
This commit is contained in:
commit
cdaed11031
@ -152,6 +152,7 @@ setup_instance() { # [instance]
|
||||
set_array_of ${instance}.options ${instancedir}/trace_options
|
||||
set_value_of ${instance}.trace_clock ${instancedir}/trace_clock
|
||||
set_value_of ${instance}.cpumask ${instancedir}/tracing_cpumask
|
||||
set_value_of ${instance}.tracing_on ${instancedir}/tracing_on
|
||||
set_value_of ${instance}.tracer ${instancedir}/current_tracer
|
||||
set_array_of ${instance}.ftrace.filters \
|
||||
${instancedir}/set_ftrace_filter
|
||||
|
@ -221,6 +221,10 @@ instance_options() { # [instance-name]
|
||||
if [ `echo $val | sed -e s/f//g`x != x ]; then
|
||||
emit_kv $PREFIX.cpumask = $val
|
||||
fi
|
||||
val=`cat $INSTANCE/tracing_on`
|
||||
if [ `echo $val | sed -e s/f//g`x != x ]; then
|
||||
emit_kv $PREFIX.tracing_on = $val
|
||||
fi
|
||||
|
||||
val=
|
||||
for i in `cat $INSTANCE/set_event`; do
|
||||
|
Loading…
Reference in New Issue
Block a user