Patrick Sung

Show:

What's happening?

  • opcontrol breaks on busybox ash in is_tool_available()

    I am trying to run oprofile on embedded platform which uses busybox ASH as the default shell. In opcontrol: is_tool_available(), the line that test "which $1 &>/dev/null" always return true and therefor tools are always available even tho it is not. Changing the line from "which $1 &>/dev/null" to "which $1 > /dev/null 2>&1" fixes it.

    2009-10-14 08:10:31 UTC in OProfile

About Me

  • 2002-07-30 (7 years ago)
  • 586378
  • phsung (My Site)
  • Patrick Sung

Send me a message