| Summary: | perf script: improve 'live mode' | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Tom Zanussi <tom.zanussi> |
| Component: | kernel | Assignee: | Tom Zanussi <tom.zanussi> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Low | CC: | bruce.ashfield, dvhart, joshuagloe, tom.zanussi |
| Version: | 1.4 | ||
| Target Milestone: | Future | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Tom Zanussi
2012-10-26 22:45:43 UTC
As a start to this, I've sent out a patchset to lkml that fixes various related problems: http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg370505.html In a lot of cases the high loads are a result of tracing perf-related activity, so I also experimented with the event filters to screen out perf-originated events. e.g. to screen out perf write events: [root@empanada ~]# export x=`expr \`ls /proc/self/task\` + 1`;perf record -a -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write --filter "common_pid != $x" -e syscalls:sys_exit_write --filter "common_pid != $x This works but is pretty unwieldy - need to try to come up with an easier interface that still uses the kernel event filtering engine. This bug is tracking an enhancement to perf which does not fall under the YP umbrella. |