diff options
| author | Masami Hiramatsu <[email protected]> | 2011-08-11 11:02:47 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-08-12 12:25:38 +0000 |
| commit | 36c0c588b9ea979b619d6ddced410f9551e4c5fa (patch) | |
| tree | a8a9ae6d431a1305d00d8e2e4044e41bd0253525 /fs/btrfs/async-thread.c | |
| parent | perf probe: Fix to search nested inlined functions in CU (diff) | |
| download | kernel-36c0c588b9ea979b619d6ddced410f9551e4c5fa.tar.gz kernel-36c0c588b9ea979b619d6ddced410f9551e4c5fa.zip | |
perf probe: Fix to walk all inline instances
Fix line-range collector to walk all instances of inlined function,
because some execution paths can be optimized out depending on the
function argument of instances.
E.g.)
inline_func (arg) {
if (arg)
do_something;
else
do_another;
}
func_A() {
inline_func(1)
}
func_B() {
inline_func(0)
}
In this case, func_A may have only do_something code and func_B may have
only do_another.
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/20110811110247.19900.93702.stgit@fedora15
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
