Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“perf script -F +insn” doesn't print insn field #96

Open
QingYuDanYan opened this issue Aug 16, 2020 · 0 comments
Open

“perf script -F +insn” doesn't print insn field #96

QingYuDanYan opened this issue Aug 16, 2020 · 0 comments

Comments

@QingYuDanYan
Copy link

QingYuDanYan commented Aug 16, 2020

After collecting perf data using perf record, I use perf script -i perf.data -F +insn to get the collected data. But there is nothing in the insn field.

        perf 32224 15889777.194652:          1 cycles:ppp:  ffffffff8826e448 native_write_msr ([kernel.kallsyms]) insn:
        perf 32224 15889777.194654:          1 cycles:ppp:  ffffffff8826e448 native_write_msr ([kernel.kallsyms]) insn:
        perf 32224 15889777.194655:         11 cycles:ppp:  ffffffff8826e448 native_write_msr ([kernel.kallsyms]) insn:
        perf 32224 15889777.194657:        285 cycles:ppp:  ffffffff8826e44a native_write_msr ([kernel.kallsyms]) insn:
        perf 32224 15889777.194658:       7550 cycles:ppp:  ffffffff88237a58 native_sched_clock ([kernel.kallsyms]) insn:
          sh 32224 15889777.194660:     191221 cycles:ppp:  ffffffff886219bd apparmor_bprm_committing_creds ([kernel.kallsyms]) insn:
          sh 32224 15889777.194707:    2700450 cycles:ppp:      7fc66bd036d7 [unknown] (/lib/x86_64-linux-gnu/ld-2.27.so) insn:
          sh 32225 15889777.195051:          1 cycles:ppp:  ffffffff8826e448 native_write_msr ([kernel.kallsyms]) insn:
          sh 32225 15889777.195054:          1 cycles:ppp:  ffffffff8826e448 native_write_msr ([kernel.kallsyms]) insn:
          sh 32225 15889777.195055:         13 cycles:ppp:  ffffffff8826e448 native_write_msr ([kernel.kallsyms]) insn:
          sh 32225 15889777.195056:        302 cycles:ppp:  ffffffff8826e44a native_write_msr ([kernel.kallsyms]) insn:
          sh 32225 15889777.195057:       7713 cycles:ppp:  ffffffff88237a58 native_sched_clock ([kernel.kallsyms]) insn:
          sh 32225 15889777.195060:     192158 cycles:ppp:  ffffffff88418cdb __handle_mm_fault ([kernel.kallsyms]) insn:
          sh 32225 15889777.195119:    2580729 cycles:ppp:  ffffffff88ba9d97 clear_page_erms ([kernel.kallsyms]) insn:

Is it a bug or just because I use it in wrong way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant