This website requires JavaScript.
Explore
Help
Register
Sign In
renegade-project
/
linux-next
Watch
2
Star
0
Fork
0
You've already forked linux-next
mirror of
https://github.com/edk2-porting/linux-next.git
synced
2024-12-22 20:23:57 +08:00
Code
9aeb6802dd
linux-next
/
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
Copy Permalink