diff options
| author | Naveen N. Rao <[email protected]> | 2015-04-28 17:35:34 +0530 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-05-04 12:43:53 -0300 |
| commit | 3099c026002e97b8c173d9d0bbdfc39257d14402 (patch) | |
| tree | f66cec530ed25182a99a82af249bc40718fcaf95 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 539f3aa2ebb42a409bc9028e38af091a86087165 (diff) | |
perf probe: Improve detection of file/function name in the probe pattern
Currently, perf probe considers patterns including a '.' to be a file.
However, this causes problems on powerpc ABIv1 where all functions have
a leading '.':
$ perf probe -F | grep schedule_timeout_interruptible
.schedule_timeout_interruptible
$ perf probe .schedule_timeout_interruptible
Semantic error :File always requires line number or lazy pattern.
Error: Command Parse Error.
Fix this:
- by checking the probe pattern in more detail, and
- skipping leading dot if one exists when creating/deleting events.
Signed-off-by: Naveen N. Rao <[email protected]>
Reviewed-by: Srikar Dronamraju <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Cc: Ananth N Mavinakayanahalli <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Cc: Sukadev Bhattiprolu <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/db680f7cb11c4452b632f908e67151f3aa0f4602.1430217967.git.naveen.n.rao@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions