aboutsummaryrefslogtreecommitdiff
path: root/gprofng
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-12-19 09:35:18 +0100
committerJan Beulich <jbeulich@suse.com>2022-12-19 09:35:18 +0100
commit6cafa8782485310b99b5f9963ec5e030b0e18bad (patch)
treeac04e41e79c8301705d57cdc7e6da3d993e07163 /gprofng
parentecb828308c808f10b5e8f9cbf03aebc7c70ca9fb (diff)
downloadbinutils-6cafa8782485310b99b5f9963ec5e030b0e18bad.zip
binutils-6cafa8782485310b99b5f9963ec5e030b0e18bad.tar.gz
binutils-6cafa8782485310b99b5f9963ec5e030b0e18bad.tar.bz2
gprofng/testsuite: correct names for signal handling tests
The signal handling tests spend most of their time in the signal handlers, and hence for profile output to match anything in program output, the respective name fields need to hold the handler function names. This converts both respective tests from "unresolved" to actually succeeding.
Diffstat (limited to 'gprofng')
-rw-r--r--gprofng/testsuite/gprofng.display/synprog/synprog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gprofng/testsuite/gprofng.display/synprog/synprog.c b/gprofng/testsuite/gprofng.display/synprog/synprog.c
index a5361a4..84262e0 100644
--- a/gprofng/testsuite/gprofng.display/synprog/synprog.c
+++ b/gprofng/testsuite/gprofng.display/synprog/synprog.c
@@ -184,7 +184,7 @@ struct scripttab scripttab[] = {
{"sched", sched, "sched", 0, 1},
{"so", callso, "callso", 0, 0},
{"sx", callsx, "callsx", 0, 0},
- {"sig", sigtime, "sigtime", 0, 1},
+ {"sig", sigtime, "sigtime_handler", 0, 1},
{"sigprof", sigprof, "sigprof", 1, 0},
{"sigprof0", sigprof, "sigprof", 0, 0},
{"sigprofh", sigprofh, "sigprofh", 1, 0},
@@ -197,7 +197,7 @@ struct scripttab scripttab[] = {
{"uf", underflow, "underflow", 0, 1},
{"forkexec", do_forkexec, "forkexec", 0, 0},
{"vforkexec", do_vforkexec, "vforkexec", 0, 0},
- {"uwdc", unwindcases, "unwindcases", 0, 0},
+ {"uwdc", unwindcases, "unwindcases_handler", 0, 0},
{NULL, NULL, NULL, 0, 0}
};