perf testsuite probe: Add test for line semantics
authorVeronika Molnarova <vmolnaro@redhat.com>
Tue, 2 Jul 2024 11:08:46 +0000 (13:08 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 28 Aug 2024 21:07:21 +0000 (18:07 -0300)
commitc0964af8162e7ce9a7b8bb896ece92534d5e7e64
treebe8fa9d207906545984c34f0c767fe2f0d64bdcc
parent83b6815dbb57aca3cd9b20bdcae769d2a7c38d5f
perf testsuite probe: Add test for line semantics

The perf-probe command uses a specific semantics to describe probes.
Test some patterns that are known to be both valid and invalid if
they are handled appropriately.

This test is run as a part of perftool-testsuite_probe test case.

Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240702110849.31904-9-vmolnaro@redhat.com
Signed-off-by: Michael Petlan <mpetlan@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/base_probe/test_line_semantics.sh [new file with mode: 0755]