From: Philippe E. <ph...@us...> - 2002-03-15 04:22:23
|
Update of /cvsroot/oprofile/oprofile/dae In directory usw-pr-cvs1:/tmp/cvs-serv18721/oprofile/dae Modified Files: oprofiled.c Log Message: pp - fix --sort + minor fix - dae: fix oprofiled --version Index: oprofiled.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/dae/oprofiled.c,v retrieving revision 1.69 retrieving revision 1.70 diff -u -d -r1.69 -r1.70 --- oprofiled.c 1 Mar 2002 21:30:02 -0000 1.69 +++ oprofiled.c 15 Mar 2002 04:22:20 -0000 1.70 @@ -357,6 +357,10 @@ show_version(argv[0]); } + cpu_type = op_get_cpu_type(); + if (cpu_type == CPU_ATHLON) + op_nr_counters = 4; + if (!vmlinux || streq("", vmlinux)) { fprintf(stderr, "oprofiled: no vmlinux specified.\n"); poptPrintHelp(optcon, stderr, 0); @@ -624,10 +628,6 @@ size_t n_buf_bytesize; struct sigaction act; int i; - - cpu_type = op_get_cpu_type(); - if (cpu_type == CPU_ATHLON) - op_nr_counters = 4; opd_options(argc, argv); |