PTX instructions

Does anybody know how to get the number of PTX instructions in CUDA kernel?
Is PTX instructions is the same as the instructions in cuda profiler?
Thank you. :)

its preaty much each line. but no there are further optimizations from ptx to bin code so i would suspect the number of instructions changes on that step.