This website requires JavaScript.
Explore
Help
Register
Sign In
OpenSDV
/
linux-stable-rt
Watch
1
Star
0
Fork
You've already forked linux-stable-rt
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
8fc4ef451e
linux-stable-rt
/
tools
/
perf
/
scripts
/
perl
/
bin
/
check-perf-trace-record
3 lines
78 B
Plaintext
Raw
Normal View
History
Unescape
Escape
perf trace: Add a scripts/perl/bin for perf trace shell scripts To capture the relevant events for a given Perl script and to avoid having to continually remember and type in long command-lines, add a scripts/perl/bin directory containing two simple shell scripts for each Perl script, one for recording and one for processing/display. For example, to record perf data for the rw-by-pid.pl script, run scripts/perl/bin/rw-by-pid-record and to actually run the script and display the output run scripts/perl/bin/rw-by-pid-report. Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Cc: fweisbec@gmail.com Cc: rostedt@goodmis.org Cc: anton@samba.org Cc: hch@infradead.org LKML-Reference: <1259133352-23685-8-git-send-email-tzanussi@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-11-25 15:15:52 +08:00
#!/bin/bash
perf: Remove leftover useless options to record trace events from scripts -f, -c 1, -R are now useless for trace events recording, moreover -M is useless and event hurts. Remove them from the documentation examples and from record scripts. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Tom Zanussi <tzanussi@gmail.com>
2010-05-01 01:55:00 +08:00
perf record -a -e kmem:kmalloc -e irq:softirq_entry -e kmem:kfree