Todd Lipcon has submitted this change and it was merged.

Change subject: pprof: fix tmp filename path construction
......................................................................


pprof: fix tmp filename path construction

The pprof handler was trying to store the profile data in
/tmp/kudu_cpu_profile/<pid>.<rand>. The kudu_cpu_profile directory is unlikely
to exist, which makes the path handler fail.

This seems to have been an accidental regression in
d20b44704033d46be76ce4bfa55df09251b45520.

This restores the prior behavior of /tmp/kudu_cpu_profile.<pid>.<rand>

Change-Id: I555037cb2ee59ef3735e209816def23d8bed856b
Reviewed-on: http://gerrit.cloudera.org:8080/3029
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M src/kudu/server/pprof-path-handlers.cc
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Adar Dembo: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/3029
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I555037cb2ee59ef3735e209816def23d8bed856b
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to