pgprof problems with -text

I am trying to run pgprof in command line mode using -text without success

trh@pi31: pgprof -V

pgprof 9.0-2
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc. All Rights Reserved.
Could not find ‘:’ in DISPLAY:
pgprof-Error-Cannot open X DISPLAY. Check your DISPLAY environment variable or use the ‘-text’ option.

trh@pi31: pgprof -text -exe a.out
Could not find ‘:’ in DISPLAY:
X connection to localhost:10.0 broken (explicit kill or server shutdown).

I am running on a Intel(R) Pentium(R) 4 CPU 3.20GHz dual core.

Any help appreciated.

Hi timh,

Thanks for the report. This looks like a bug to me so I sent it off to our Tools engineers as technical problem report #16052. To work around the issue, unset your DISPLAY environment variable.

Hope this helps,
Mat

FYI, TPR#16052 will be fixed in 9.0-4.

  • Mat