Changeset 168083 in webkit


Ignore:
Timestamp:
Apr 30, 2014 9:20:16 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Kernel sysctl interface hw.activecpu don't exists on Linux.
https://bugs.webkit.org/show_bug.cgi?id=132286

Patch by Carlos Alberto Lopez Perez <clopez@igalia.com> on 2014-04-30
Reviewed by Filip Pizlo.

  • Scripts/run-jsc-stress-tests: Redirect stderr to null when

calling sysctl over hw.activecpu

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r168047 r168083  
     12014-04-30  Carlos Alberto Lopez Perez  <clopez@igalia.com>
     2
     3        Kernel sysctl interface hw.activecpu don't exists on Linux.
     4        https://bugs.webkit.org/show_bug.cgi?id=132286
     5
     6        Reviewed by Filip Pizlo.
     7
     8        * Scripts/run-jsc-stress-tests: Redirect stderr to null when
     9        calling sysctl over hw.activecpu
     10
    1112014-04-30  Anders Carlsson  <andersca@apple.com>
    212
  • trunk/Tools/Scripts/run-jsc-stress-tests

    r167906 r168083  
    7575
    7676begin
    77     $numProcessors = `sysctl -n hw.activecpu`.to_i
     77    $numProcessors = `sysctl -n hw.activecpu 2>/dev/null`.to_i
    7878rescue
    7979    $numProcessors = 0
Note: See TracChangeset for help on using the changeset viewer.