Hui Su
ba22053f5d
scripts/tracing: fix the bug that can't parse raw_trace_func
commit 1c0cec64a7cc545eb49f374a43e9f7190a14defa upstream.
Since commit 77271ce4b2 ("tracing: Add irq, preempt-count and need resched info
to default trace output"), the default trace output format has been changed to:
<idle>-0 [009] d.h. 22420.068695: _raw_spin_lock_irqsave <-hrtimer_interrupt
<idle>-0 [000] ..s. 22420.068695: _nohz_idle_balance <-run_rebalance_domains
<idle>-0 [011] d.h. 22420.068695: account_process_tick <-update_process_times
origin trace output format:(before v3.2.0)
# tracer: nop
#
# TASK-PID CPU# TIMESTAMP FUNCTION
# | | | | |
migration/0-6 [000] 50.025810: rcu_note_context_switch <-__schedule
migration/0-6 [000] 50.025812: trace_rcu_utilization <-rcu_note_context_switch
migration/0-6 [000] 50.025813: rcu_sched_qs <-rcu_note_context_switch
migration/0-6 [000] 50.025815: rcu_preempt_qs <-rcu_note_context_switch
migration/0-6 [000] 50.025817: trace_rcu_utilization <-rcu_note_context_switch
migration/0-6 [000] 50.025818: debug_lockdep_rcu_enabled <-__schedule
migration/0-6 [000] 50.025820: debug_lockdep_rcu_enabled <-__schedule
The draw_functrace.py(introduced in v2.6.28) can't parse the new version format trace_func,
So we need modify draw_functrace.py to adapt the new version trace output format.
Link: https://lkml.kernel.org/r/20210611022107.608787-1-suhui@zeku.com
Cc: stable@vger.kernel.org
Fixes: 77271ce4b2 tracing: Add irq, preempt-count and need resched info to default trace output
Signed-off-by: Hui Su <suhui@zeku.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
2021-08-12 13:21:00 +02:00 |
| .. |
|
atomic
|
|
|
|
basic
|
kbuild: remove unneeded comments and code from scripts/basic/Makefile
|
2019-08-29 23:54:29 +09:00 |
|
coccinelle
|
scripts: add dummy report mode to add_namespace.cocci
|
2020-08-11 15:33:35 +02:00 |
|
dtc
|
scripts/dtc: only append to HOST_EXTRACFLAGS instead of overwriting
|
2020-10-07 08:01:29 +02:00 |
|
gcc-plugins
|
gcc-common.h: Update for GCC 10
|
2020-05-27 17:46:24 +02:00 |
|
gdb
|
scripts/gdb: fix lx-symbols 'gdb.error' while loading modules
|
2020-07-29 10:18:35 +02:00 |
|
genksyms
|
genksyms: convert to SPDX License Identifier for lex.l and parse.y
|
2019-09-14 11:40:13 +09:00 |
|
kconfig
|
kconfig: nconf: stop endless search loops
|
2021-05-19 10:08:23 +02:00 |
|
ksymoops
|
|
|
|
mod
|
vmlinux.lds.h: Create section for protection against instrumentation
|
2021-02-17 10:35:16 +01:00 |
|
package
|
kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables
|
2020-09-03 11:27:10 +02:00 |
|
selinux
|
|
|
|
tracing
|
scripts/tracing: fix the bug that can't parse raw_trace_func
|
2021-08-12 13:21:00 +02:00 |
|
.gitignore
|
|
|
|
adjust_autoksyms.sh
|
kbuild: remove the first line of *.mod files
|
2019-07-18 02:19:31 +09:00 |
|
asn1_compiler.c
|
|
|
|
bin2c.c
|
|
|
|
bloat-o-meter
|
scripts: switch explicitly to Python 3
|
2021-05-22 11:38:30 +02:00 |
|
bootgraph.pl
|
|
|
|
bpf_helpers_doc.py
|
|
|
|
cc-can-link.sh
|
|
|
|
check_extable.sh
|
|
|
|
checkincludes.pl
|
|
|
|
checkkconfigsymbols.py
|
|
|
|
checkpatch.pl
|
checkpatch: fix unescaped left brace
|
2020-12-30 11:51:27 +01:00 |
|
checkstack.pl
|
|
|
|
checksyscalls.sh
|
|
|
|
checkversion.pl
|
|
|
|
clang-version.sh
|
|
|
|
cleanfile
|
|
|
|
cleanpatch
|
|
|
|
coccicheck
|
|
|
|
config
|
tweewide: Fix most Shebang lines
|
2021-05-22 11:38:30 +02:00 |
|
conmakehash.c
|
|
|
|
const_structs.checkpatch
|
|
|
|
decode_stacktrace.sh
|
scripts/decode_stacktrace: strip basepath from all paths
|
2020-07-29 10:18:35 +02:00 |
|
decodecode
|
scripts/decodecode: fix trapping instruction formatting
|
2020-05-14 07:58:29 +02:00 |
|
depmod.sh
|
depmod: handle the case of /sbin/depmod without /sbin in PATH
|
2021-01-12 20:16:10 +01:00 |
|
diffconfig
|
scripts: switch explicitly to Python 3
|
2021-05-22 11:38:30 +02:00 |
|
documentation-file-ref-check
|
|
|
|
export_report.pl
|
modpost: move the namespace field in Module.symvers last
|
2020-03-25 08:25:55 +01:00 |
|
extract-cert.c
|
|
|
|
extract-ikconfig
|
|
|
|
extract-module-sig.pl
|
|
|
|
extract-sys-certs.pl
|
|
|
|
extract-vmlinux
|
|
|
|
extract_xc3028.pl
|
|
|
|
faddr2line
|
|
|
|
file-size.sh
|
|
|
|
find-unused-docs.sh
|
scripts/find-unused-docs: Fix massive false positives
|
2020-02-11 04:35:23 -08:00 |
|
gcc-goto.sh
|
|
|
|
gcc-ld
|
|
|
|
gcc-plugin.sh
|
|
|
|
gcc-version.sh
|
|
|
|
gcc-x86_32-has-stack-protector.sh
|
|
|
|
gcc-x86_64-has-stack-protector.sh
|
|
|
|
gen_compile_commands.py
|
gen_compile_commands: lower the entry count threshold
|
2019-07-27 12:18:19 +09:00 |
|
gen_ksymdeps.sh
|
|
|
|
get_abi.pl
|
tweewide: Fix most Shebang lines
|
2021-05-22 11:38:30 +02:00 |
|
get_dvb_firmware
|
|
|
|
get_maintainer.pl
|
get_maintainer: add ability to skip moderated mailing lists
|
2019-07-16 19:23:22 -07:00 |
|
gfp-translate
|
|
|
|
headerdep.pl
|
|
|
|
headers_check.pl
|
|
|
|
headers_install.sh
|
scripts: headers_install: Exit with error on config leak
|
2020-06-24 17:50:33 +02:00 |
|
insert-sys-cert.c
|
|
|
|
kallsyms.c
|
scripts/kallsyms: fix definitely-lost memory leak
|
2020-01-04 19:18:23 +01:00 |
|
Kbuild.include
|
kbuild: sink stdout from cmd for silent build
|
2021-07-25 14:35:11 +02:00 |
|
Kconfig.include
|
kconfig: introduce m32-flag and m64-flag
|
2020-04-08 09:08:37 +02:00 |
|
kernel-doc
|
kernel-doc: Allow anonymous enum
|
2019-08-12 15:00:37 -06:00 |
|
ld-version.sh
|
|
|
|
leaking_addresses.pl
|
|
|
|
Lindent
|
|
|
|
link-vmlinux.sh
|
bpf: Support llvm-objcopy for vmlinux BTF
|
2020-06-17 16:40:20 +02:00 |
|
Makefile
|
scripts: set proper OpenSSL include dir also for sign-file
|
2021-02-26 10:10:27 +01:00 |
|
Makefile.asm-generic
|
|
|
|
Makefile.build
|
kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n'
|
2021-07-14 16:53:20 +02:00 |
|
Makefile.clean
|
kbuild: clean up subdir-ymn calculation in Makefile.clean
|
2019-08-29 23:54:29 +09:00 |
|
Makefile.dtbinst
|
|
|
|
Makefile.extrawarn
|
kbuild: Disable -Wpointer-to-enum-cast
|
2020-03-25 08:25:54 +01:00 |
|
Makefile.gcc-plugins
|
|
|
|
Makefile.headersinst
|
kbuild: move headers_check rule to usr/include/Makefile
|
2020-03-05 16:43:47 +01:00 |
|
Makefile.host
|
kbuild: change *FLAGS_<basetarget>.o to take the path relative to $(obj)
|
2019-09-04 23:12:50 +09:00 |
|
Makefile.kasan
|
kasan/arm64: fix CONFIG_KASAN_SW_TAGS && KASAN_INLINE
|
2019-08-15 13:24:04 +01:00 |
|
Makefile.kcov
|
|
|
|
Makefile.lib
|
kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables
|
2020-09-03 11:27:10 +02:00 |
|
Makefile.modbuiltin
|
kbuild: get rid of kernel/ prefix from in-tree modules.{order,builtin}
|
2019-07-17 22:39:27 +09:00 |
|
Makefile.modfinal
|
kbuild: move modkern_{c,a}flags to Makefile.lib from Makefile.build
|
2019-08-22 01:14:11 +09:00 |
|
Makefile.modinst
|
kbuild: modinst: read modules.order instead of $(MODVERDIR)/*.mod
|
2019-07-17 22:39:27 +09:00 |
|
Makefile.modpost
|
Modules updates for v5.4
|
2019-09-22 10:34:46 -07:00 |
|
Makefile.modsign
|
kbuild: modsign: read modules.order instead of $(MODVERDIR)/*.mod
|
2019-07-17 22:39:27 +09:00 |
|
Makefile.package
|
kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables
|
2020-09-03 11:27:10 +02:00 |
|
Makefile.ubsan
|
|
|
|
makelst
|
|
|
|
markup_oops.pl
|
|
|
|
mkcompile_h
|
kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
|
2021-07-25 14:35:12 +02:00 |
|
mkmakefile
|
kbuild: get rid of $(realpath ...) from scripts/mkmakefile
|
2019-08-29 23:54:29 +09:00 |
|
mksysmap
|
mksysmap: Fix the mismatch of '.L' symbols in System.map
|
2020-06-24 17:50:19 +02:00 |
|
mkuboot.sh
|
|
|
|
module-common.lds
|
|
|
|
modules-check.sh
|
kbuild: get rid of kernel/ prefix from in-tree modules.{order,builtin}
|
2019-07-17 22:39:27 +09:00 |
|
namespace.pl
|
namespace: fix namespace.pl script to support relative paths
|
2019-10-05 15:29:49 +09:00 |
|
nsdeps
|
scripts: add dummy report mode to add_namespace.cocci
|
2020-08-11 15:33:35 +02:00 |
|
objdiff
|
|
|
|
parse-maintainers.pl
|
parse-maintainers: Mark as executable
|
2020-03-25 08:25:49 +01:00 |
|
patch-kernel
|
|
|
|
pnmtologo.c
|
|
|
|
profile2linkerlist.pl
|
|
|
|
prune-kernel
|
|
|
|
recordmcount.c
|
ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
|
2021-03-09 11:09:39 +01:00 |
|
recordmcount.h
|
recordmcount: Correct st_shndx handling
|
2021-06-30 08:47:49 -04:00 |
|
recordmcount.pl
|
riscv: Workaround mcount name prior to clang-13
|
2021-05-22 11:38:29 +02:00 |
|
setlocalversion
|
scripts/setlocalversion: make git describe output more reliable
|
2020-11-01 12:01:01 +01:00 |
|
show_delta
|
tweewide: Fix most Shebang lines
|
2021-05-22 11:38:30 +02:00 |
|
sign-file.c
|
|
|
|
sortextable.c
|
|
|
|
sortextable.h
|
|
|
|
spdxcheck-test.sh
|
|
|
|
spdxcheck.py
|
|
|
|
spelling.txt
|
scripts/spelling.txt: add more spellings to spelling.txt
|
2019-07-12 11:05:41 -07:00 |
|
sphinx-pre-install
|
tweewide: Fix most Shebang lines
|
2021-05-22 11:38:30 +02:00 |
|
split-man.pl
|
tweewide: Fix most Shebang lines
|
2021-05-22 11:38:30 +02:00 |
|
stackdelta
|
|
|
|
stackusage
|
|
|
|
subarch.include
|
|
|
|
tags.sh
|
|
|
|
tools-support-relr.sh
|
Makefile: fix GDB warning with CONFIG_RELR
|
2021-07-14 16:53:12 +02:00 |
|
unifdef.c
|
|
|
|
ver_linux
|
|
|
|
xen-hypercalls.sh
|
|
|
|
xz_wrap.sh
|
kbuild: add variables for compression tools
|
2020-09-03 11:27:10 +02:00 |