tools/time.c
changeset 998 3f6ed23e8aae
parent 16 33aaaec59991
child 3770 ca450a806cc1
equal deleted inserted replaced
997:15b3b55c6b28 998:3f6ed23e8aae
    34 #include <dlfcn.h>
    34 #include <dlfcn.h>
    35 #include <strings.h>
    35 #include <strings.h>
    36 #include <time.h>
    36 #include <time.h>
    37 
    37 
    38 /* The list of programs that we want to use a constant time. */
    38 /* The list of programs that we want to use a constant time. */
    39 static char *programs[] = { "autogen", "bash", "cpp", "cc1", "date", "doxygen",
    39 static char *programs[] = { 
    40 	"erl", "javadoc", "ksh", "ksh93", "ld", "perl", "perl5.8.4", "perl5.10",
    40 	"autogen", "bash", "cpp", "cc1", "date", "doxygen",
    41 	"ruby", "sh", NULL };
    41 	"erl", "grops", "gs", "gtroff", "javadoc", "ksh", "ksh93", "ld",
       
    42 	"perl", "perl5.8.4", "perl5.10", "ruby", "sh", NULL
       
    43 };
    42 
    44 
    43 static int
    45 static int
    44 stack_info(uintptr_t pc, int signo, void *arg)
    46 stack_info(uintptr_t pc, int signo, void *arg)
    45 {
    47 {
    46 	Dl_info info;
    48 	Dl_info info;