collect causes segmentation fault when profiling L2 data cache misses on T1

I am attempting to profile L2 data cache misses on a SUN T1000 server, but collect causes a segmentation fault when I choose to profile L2 data cache misses.

Is it possible to profile L2 data misses on the T1 processor?

Thanks!

-John

A simple hello world application and the failed profiling:

%] collect -p +on -h ecdm hello

Segmentation fault

I compiled with

CC -xhwcprof -xdebugformat=dwarf -g -03 -o hello hello.c

[472 byte] By [John_Ca] at [2007-11-26 15:19:04]
# 1

No it is not possible to profile L2 cache misses -- the chip does not generate

interrupts on performance register 0 (only register 1, which is hard-wired

to instruction count).

That said, we should not generate a segmentation fault. Exactly

which version of collect are you using? We did patch Studio 11

to correctly handle the US-T1, and Studio 12 express also

correctly handles it.

Is the SEGV on the collect command, or on the target it launches?

Marty Itzkowitz,

Project Lead, Sun Studio Analyzer

marty.itzkowitza at 2007-7-8 11:02:39 > top of Java-index,Development Tools,Solaris and Linux Development Tools...