Skip to content

Commit

Permalink
Revert "ocperf: Drop obsolete method name"
Browse files Browse the repository at this point in the history
This reverts commit 0e9ac23.
  • Loading branch information
Andi Kleen committed Nov 14, 2024
1 parent bff9325 commit 5706c03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocperf.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def __init__(self, name, row):
# XXX cannot separate sockets
# extra: perf flags
# flags: emon flags
def output(self, newextra="", noname=False, period=False, name="", flags="", noexplode=False):
def output_newstyle(self, newextra="", noname=False, period=False, name="", flags="", noexplode=False):
e = self
o = "/event=%#x" % e.code
if e.umask:
Expand Down Expand Up @@ -514,6 +514,7 @@ def check_qual(q):
return False

self.newextra = ",".join(filter(check_qual, convert_uncore(self.newextra, ()).split(",")))
output = output_newstyle

def ffs(flag):
assert flag != 0
Expand Down

0 comments on commit 5706c03

Please sign in to comment.