summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2020-10-08 23:19:28 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-10-14 13:43:31 -0300
commitcaf7f9685dd339d4fe7c3cbc0b5d7fabd3df784d (patch)
treed2cc63538f6979ce7f52d87464fb3a85d3d6d57d /Kbuild
parent2a09a84c720b436a3ded9b7e3701d391ec81892a (diff)
downloadlinux-stable-caf7f9685dd339d4fe7c3cbc0b5d7fabd3df784d.tar.gz
linux-stable-caf7f9685dd339d4fe7c3cbc0b5d7fabd3df784d.tar.bz2
linux-stable-caf7f9685dd339d4fe7c3cbc0b5d7fabd3df784d.zip
perf jevents: Fix event code for events referencing std arch events
The event code for events referencing std arch events is incorrectly evaluated in json_events(). The issue is that je.event is evaluated properly from try_fixup(), but later NULLified from the real_event() call, as "event" may be NULL. Fix by setting "event" same je.event in try_fixup(). Also remove support for overwriting event code for events using std arch events, as it is not used. Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-By: Kajol Jain<kjain@linux.ibm.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Link: https://lore.kernel.org/r/1602170368-11892-1-git-send-email-john.garry@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions