Skip to content
Snippets Groups Projects
Select Git revision
  • b9f07eb2f25a64098e2ba223c1a2fe2a8f249e01
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

kernel

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Wu Zhangjin authored and Ralf Baechle committed
    trace.func should be set to the recorded ip of the mcount calling site
    in the __mcount_loc section to filter the function entries configured
    through the tracing/set_graph_function interface, but before, this is
    set to the self_ra(the return address of mcount), which has made
    set_graph_function not work as expected.
    
    This fixes it via calculating the right recorded ip in the __mcount_loc
    section and assign it to trace.func.
    
    Reported-by: default avatarZhiping Zhong <xzhong86@163.com>
    Signed-off-by: default avatarWu Zhangjin <wuzhangjin@gmail.com>
    Cc: Steven Rostedt <srostedt@redhat.com>
    Cc: Sergei Shtylyov <sshtylyov@mvista.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2017/
    
    
    Signed-off-by: default avatarRalf Baechle <ralf@duck.linux-mips.net>
    b9f07eb2
    History